Ferry and light rail current vehicle position


#1

as i am accessing Trip planner API for trip and there is ferry and light rail in that trip but as from their specific trip id when I try to filter current vehicle position API of ferry/lightrail that trip id does not getting matched.

I am not getting that vehicle (light rail,ferry) position from that trip id which is return by trip planner.

if I access Light rail API then it returns only vehicle possition having below list of trips.

4113923-9925-DN-66
4113954-9925-DN-65
4113955-9925-DN-67
4113956-9925-DN-68
4114015-9925-UP-65
4114016-9925-UP-66
4114017-9925-UP-67
4114018-9925-UP-68
4114019-9925-UP-69

when i am looking for “4059364-9496-UP-71” this trip id.


#2

Hey Dhamu,

Did you manage to work it out? The light rail service isn’t running currently, so I couldn’t check if it’s still an issue.

The Light Rail GTFS-realtime feed only returns vehicle positions currently in progress. The Trip Planner API can return trips into the future as well – which could explain why they don’t all match.

The GTFS (static) schedule for light rail includes blocking which could allow you to match vehicles to future trips.

Hope that helps.

Cheers,
Ken