I am working on an app to plot bus locations on a route and have seen a web map (traintimes.org) which plots the position using the arrival time as an estimate of the busses position as the actual bus coordinates aren’t part of the api.
The idea is to make an accessible app with very clear visual representations of the busses on a map with little text and no forms or buttons etc. Easy to use for those with visual impairment. Just open the app and see your busses on route.
I have got as far as plotting the positions using a combination of the next stop arrival time and time last stop was visited and using that to calculate the buses average speed and then the estimated location based on the speed and distance between stops…
I’ve noticed on the traintimes.org website the busses move directly from point to point in a straight line without following roads, so I have used route planning data to have the busses follow the road rather than directly from point to point.
Which seems like a lot of code and at least 3 api calls per vehicle just to get an estimated location, sometimes the estimates are off by a large margin if the bus is stopped in traffic jams etc
I. It iced there is an empty field in the vehicle details referring to its location, So I was wondering if there were any plans to add the location data to the api, or if there was a practical reason why this can’t be added .