I am a newbie. I just want to get real time bus position, and I am interesting to see the longitude and latitude update every 15 seconds. I know that I need to use the GFTS Realtime Feed.
I have tried to follow GTFS Realtime Overview | Realtime Transit | Google Developers but I cannot understand.
Can anyone tell me the steps to follow?
Thanks,
An
First I would be looking at converting the protocol buffer file into a json file so you can use Mapbox or Google Maps to plot the bus position on a map. The GitHub - harrytruong/gtfs_realtime_json: Standalone utility to convert gtfs-realtime feeds into simple JSON. is a library I have used to do just that in Python. If you require some of the TfNSW modified fields you will need to modify the code appropriately. But to get a vehicle position this will be sufficient.
1 Like
Thanks for your quick respone