Integrate train schedules or rail data to predict where traffic will be impacted by a train crossing. I.e., track the trains just like cars
This is not to show that a train crossing is down - it's to route me a different direction if it sees that a train will be crossing the road at the same time I'm going to be there. I'm sure that the rail companies track info on location, speed, and length of their trains and they might share that data - for our safety and convenience.
Recently I have come a cross this kind of schedule too when I was on my https://www.dbfahrplan.com/de/ das Europa-Spezial[/url] tour to Germany. At first I didn’t know what it was but my guide explained that this kind of schedule is called integrate train schedule or rail data. This kind of schedule is basically used to predict where traffic will be impacted by a train crossing. In layman’s term, it’s to show a person direction to see if more than one train will be crossing the rail at the same time. If it is, the professionals will come right away to solve the problem.
Ariel's comment is a good one. Freight railroads generally DON'T share data on train schedules....
Ariel Scarpinelli commented
Just by penalizing routes with a train cross with say... 5 minutes should be enough. No need to know the train schedule, that will effectively choose bridges or tunnels instead unless they are really packed