Closed PasiSalenius closed 7 years ago
@PasiSalenius This implicates that real-time data is not available, as the bus has already passed the stop or has been cancelled. The historical data is not available in legacy HSL systems, and should finished with the LIJ project is taken into use.
Wouldn't the correct "realtime"
value then be false
for those stoptimes?
But ok, will be waiting for the final implementation.
In case of -1
, realtime data is available but there is no time estimate as the vehicle won't visit the stop anymore.
I guess this is supposed to be fixed and should be a known issue, but adding this here as a reminder as IMHO this is quite a bad bug currently.
The following realtime stoptimes query
returns "realtime": true but at the same time "realtimeArrival": -1 and "realtimeDeparture": -1
This seems to affect quite a lot of stoptimes queries where realtime information is available. Digitransit clients that don't specifically code around this will display wrong data as a consequence.