Easy. Put a GPS tracker on the train and publish its location so residents can plan their commute around it. And let a speeder drive in front of the train with a big Hermano in it who yells at people to warn them.