Closed eg-ops closed 5 years ago
Those IDs should be UIC IDs, shared across all rail operators. For Dusseldorf, that ID is 8008094. It is possible that other rail operators choose to have their own national IDs. In that case a station simply has two IDs.
The Hungaryan wikipedia page lists these 2 different ids: https://hu.wikipedia.org/wiki/Dortmund_Hauptbahnhof
UIC station code 8044257 International station code 8000080
A list of European stations with their UIC IDs: https://github.com/trainline-eu/stations/blob/master/stations.csv They aren't an authority, but their data is of high quality and I often use it to verify data I obtained from other sources before adding them to our database.
We use the IDs which are used by HaCon/HAFAS, the digital system used by NMBS to provide APIs and data. Those IDs are the same as UIC IDs, but prefixed with 00.
To conclude: we use the Hafas IDs (00 + UIC ID), which are used by the NMBS and contain the UIC ID, which works internationally. Germany has an additional ID for (some? each?) station, but that ID isn't used by international rail operators
If anything is unclear, feel free to ask :)
Thanks for clarifying this issue. Is it possible to add this german id (uic8db) into the list like in case of uic8Sncf.
That list is owned and maintained by the Trainline-Eu organisation. If you want to alter or add something in that file, please see their repository here: https://github.com/trainline-eu/stations
For example Duesseldorf Hbf, in your date you have station id 008008094 but if you check Deutsche Bahn Data there is 8000080 station id. In my view it make sense to use german id to be consistent.