I have a project wherein having train route information would be useful. Like if I could get GPS coordinates that form the routes themselves I could do maps like https://www.amtrak.com/track-your-train.html using the Simple Polylines API on Google Maps.
Is that stuff publicly available? I'm most specifically interested in this for Texas railroads: https://ftp.txdot.gov/pub/txdot-info/tpp/maps/2016-railroad.pdf