I am assuming you will use the transfer switch to switch between shore power and inverter power.
Put the switch near the main power panel. Shore power carries more current than the inverter. Use the longer 12 gauge cable to the inverter instead of the larger 10 gauge cable needed for a 30 amp shore power cable.
The most important issue is to keep the inverter close to the battery bank.
I wish you good luck and happy trails ahead!