[iRail] station name confusion

bert bruynooghe bert.bruynooghe at gmail.com
Mon Jan 2 21:30:22 UTC 2012

Using the API, when I ask for a connection to "La Hulpe", I receive
"Terhulpen" as station name. But when I then ask for the vehicle
arriving there using the information from the connection, I receive
"La Hulpe" as station name.
Since I don't receive a station id in the vehicle, it is impossible
for me to link this information correctly without implementing a
complete mapping table between French and Dutch names of places...

Is there any way around this, or am I doing something wrong?

Probably I can get around this using arriving times instead of station
names/ids, but it is a bit ridiculous...

Bert Bruynooghe.

More information about the iRail mailing list