[iRail] station name confusion

Pieter Colpaert pieter.colpaert at gmail.com
Mon Jan 2 21:31:28 UTC 2012


Hey Bert,

try to add &lang=nl or &lang=fr to your requests

Hope this helps,

Pieter

On 01/02/2012 10:30 PM, bert bruynooghe wrote:
> 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...
>
> Regards,
> Bert Bruynooghe.
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail


-- 
iRail vzw/asbl
+32(0)486/747122




More information about the iRail mailing list