Closed antont closed 9 years ago
HSL data currently gives us a lineref which seems to be some internal code.
lineref
For the UI we'd need the end user route IDs, like tram 4A or bus 63.
The documentation apparently doesn't have this information (CIE folks investigated that earlier).
This open source project from HSL itself seems to have code for this:
https://github.com/HSLdevcom/navigator-server/blob/master/src/helmi.coffee global state: a mapping from vehicle id to its current route code vehicle_to_route = {}
noticed from this commit: fix route id for Vantaa airport line 61 https://github.com/HSLdevcom/navigator-server/commit/97d864d27f9160eeb725f8d369ed645bdde03b43
Also Google Earth gets the numbers for trams at least somehow, are in http://hsl.seuranta.org/
And @Stinkfist0 checked http://www.pubtrans.it/hsl/vehicles and reported that lineids seem sane there.
Should be now in order.
HSL data currently gives us a
lineref
which seems to be some internal code.For the UI we'd need the end user route IDs, like tram 4A or bus 63.
The documentation apparently doesn't have this information (CIE folks investigated that earlier).
This open source project from HSL itself seems to have code for this:
https://github.com/HSLdevcom/navigator-server/blob/master/src/helmi.coffee global state: a mapping from vehicle id to its current route code vehicle_to_route = {}
noticed from this commit: fix route id for Vantaa airport line 61 https://github.com/HSLdevcom/navigator-server/commit/97d864d27f9160eeb725f8d369ed645bdde03b43
Also Google Earth gets the numbers for trams at least somehow, are in http://hsl.seuranta.org/
And @Stinkfist0 checked http://www.pubtrans.it/hsl/vehicles and reported that lineids seem sane there.