Most trains,ships,airports, docks fir ships, loading unloading zones have strick rules and you will need their permission to fly near or around the facilities. I'd check with the train company and get written permission to prevent any undo expenses or fines.