Great app. Any chance you can share how you are displaying the routes on the map?
Thanks Ben. The route lines are found in the GTFS dataset, along with all the information about trips, stops, routes and stopping patterns. If you’re interested, check out Google’s documentation on GTFS
Thanks @jxeeno, forgive me if I am missing something, but in the docs I can’t see any examples on actually using the data. Are you manually parsing the datasets and drawing via the Google Maps JS API or is there a more direct implementation?
Yes, I’m parsing the data myself. If you have any other questions about using the datasets, it might be best to open a new thread on the forum so others can help too
A recent paper in Journal of Transport Geography, entitled “Constructing a routable retrospective transit timetable from a real-time vehicle location feed and GTFS” contains a rather cool map of average deviations that enables the user to visualise the “hot-spots” for delays in a transit system [NextBus in Toronto].
Is there any way that TfNSW real-time GTFS feed can be used to produce such maps?
If anyone does do this please let us know! I just had a scan through the paper (http://www.sciencedirect.com/science/article/pii/S0966692317300388) – looks very interesting and insightful.
any thoughts why buses are reported 73 minutes late and then miraculously are nearly back on time.
I am assuming a replacement bus has started the trip part way through the trip to sort of run on time at the end of the trip. Is there any way to show what is happening?
Hey @Halfabee, do you remember what route number this was? I’ll take a look at the underlying data to try and work out what’s going on.
it was a 418 #423716
I thought I was doing something wrong and was glad you had the same results.
I notice it every now. The trip id @Halfabee was referring to there was
423716 on 16th June. At this stage, I haven’t gone and restored the data to check what was going on. I’ll let you know once I do
Another one was a 370 service (trip id
427706) on the 18th June. This second service is due to an intermittent problems with the reported coordiantes from the on-board GPS, but both result in the same problem: stop time predictions being generated for stops already passed or skipped by the bus vehicle.
Thanks @jxeeno, we’ll investigate this further. If you find anything please let me know.
May i know what technologies you use?
I am planning on similar app with C#.net to run as Cron job to get data and push into MySQL DB.
And RESTful service developed in C#.Net with website developed in Angular.
Bit struggling with understanding real-time data received from TfNSW APIs for Trains, any help would be much appreciated.
Thanks in advance.
This is awesome @jxeeno and exactly what I was looking for. Thank you!!!
I work in NSW health planning, I am trying advocate for a bus stop and route to be modified to better service a new public park/sporting facility/education precinct to encourage active transport/reduce car dependency. This data may help build a case that the current bus route is underutilised and patronage could be improved by redirecting the route to pass the education precinct and park. I hope to access some historic data too when its available.
@yvonne.lee - now that I have the data, what would be the next step for the local council and myself to advocate for this bus route to be reviewed? is there a local rep from TfNSW ? Sorry I am new in this field so am not sure how the process works so if you could direct me to someone who could answer this this would be appreciated.