Get the latest tech news
OpenRailRouting
routing on railway tracks using OpenStreetMap data and the GraphHopper routing engine - geofabrik/OpenRailRouting
taking the low acceleration and the long breaking distances of trains into account a lot of features which would need data which is not in OSM (incline, structure gauges) support for barriers (e.g. gates) 15kv-ac_750v-dc.json limits accessible tracks to those with 15 kV 16.7 Hz AC, 750 V DC or missing information about power systems. Don't forget that clients can submit their own profiles at runtime if they use POST requests.
Or read this on Hacker News