Find Bus Vehicle ID

47 views
Skip to first unread message

Maggie Dong

unread,
Mar 22, 2021, 9:40:16 AMMar 22
to mtadeveloperresources
Hi there,

Good morning! Anyone knows where to find the vehicle ID that I can use to associate with bus trips? I'm using the static GTFS data which does not have vehicle ID, or did i miss it? 

Basically the reason why I need vehicle ID is because my analysis focuses on the operations of the buses, rather than the routes. Wondering if anyone can direct me to the right place for the vehicle ID data. Much appreciated!

Thanks,
Maggie

Anthony Townsend

unread,
Apr 20, 2021, 7:57:33 AMApr 20
to mtadeveloperresources
its not in the GTFS feed because its not assigned ahead of time. you will find it in the SIRI API response however,


<!-- The vehicle ID, preceded by the GTFS agency ID -->
  <VehicleRef>MTA NYCT_7582</VehicleRef>



sm12...@gmail.com

unread,
Apr 21, 2021, 10:06:49 PMApr 21
to mtadeveloperresources
The vehicle_id is in the gtfs_rt bus feed.
Reply all
Reply to author
Forward
0 new messages