For creating a realistic route with current speeds per track section, signals, switches, etc., there is an online map where you can find this information for the entire world: https://openrailwaymap.app/#view=1.91/20.53/0 It might be possible to create a connection (similar to Google Maps)!