Wynard had a railway line crossing the runway - until they shortened the runway.
Train used to set off flashing lights which told pilots it was unsafe to land.
In Derry (Londonderry) in Northern Island, I worked on a project to put up railway signals to be controlled by ATC as the wheels of an arriving jet just touched a train passing the threshold of the main runway!