Open data
The railway atlas, as open data
744 notable train routes across 118 countries: geometry plus facts, free to use. Facts CC BY 4.0; OSM-traced geometry © OpenStreetMap contributors.
Open the interactive railway map →Every route on the interactive map is also published as a plain, reusable dataset: the shape of each line plus its distance, fastest scheduled journey time, service top speed, operator, rolling stock, the year it opened and approximate annual ridership. It's the data behind the Glacier Express, the Trans-Siberian, the Shinkansen and 741 more, released so you can map, analyse or build on it. Figures are approximate published values, not live timetables.
- Routes
- 744
- Countries
- 118
- Line mapped
- ≈ 366,500 km
- Licence
- Facts CC BY 4.0 · OSM-traced geometry ODbL
Download
- CSV one row per route: all facts, no geometry
- JSON same records with structured country objects
- GeoJSON a LineString per route, every fact as a property
Or take the whole repository — github.com/Flightmussy/trainrouter-atlas — also mirrored on Kaggle and Hugging Face, and archived on Zenodo at DOI 10.5281/zenodo.21322030.
Provenance & licence note (updated 31 July 2026): the current downloads were built on 23 July, when nearly every line was still hand-traced; those hand-traced lines and all the facts are CC BY 4.0. Since late July the live map's route lines are traced from OpenStreetMap railway ways, so that geometry is © OpenStreetMap contributors under ODbL — the handful of OSM-traced corridors already in the 23 July files (Brenner, Oslo–Göteborg, Oslo–Stockholm, Pustertalbahn) included. The next dataset release will carry the split licence explicitly: facts CC BY 4.0, geometry ODbL.
What's in each record
- name, from, to
- route/service name and terminus cities
- category
- high-speed · classic · night · scenic
- distance_km, top_speed_kmh, duration
- length, service top speed, fastest journey time
- operator, train
- operating company and rolling stock
- opened, pax_per_year
- year in service, approximate annual ridership
- countries / countries_iso
- countries served, in travel order
- geometry (GeoJSON)
- hand-traced LineString of lon/lat waypoints
How to cite
TrainRouter Atlas (2026). 744 world train routes [Data set]. CC BY 4.0. https://doi.org/10.5281/zenodo.21322030
Built from it
- The fastest train in every country ranked by real average speed
- The night-train revival sleepers back, by decade
- MCP server query the atlas from Claude or any AI assistant