jclgoodwin / bustimes.org

Every bus stop, route and timetable, using (Geo)Django and things

Home Page:https://bustimes.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TFL realtime data issues

iMarkeh opened this issue · comments

I think think that this is a bustimes issue or least an issue that bustimes could control.

Basically, there are some strange goings on and the best place that I have found to show them is Heathrow Terminal 5.

There is stop 1( https://bustimes.org/stops/4900164301) which is just a terminating stop yet there are full details of services however as this is a terminating stop, there shouldn't be any 'next departures'. If you click on the time to see the trip, there can be just as many strange goings on as some trips show that it's the last stop (in which case, if stop is the last stop, it shouldn't show it as a departure). The other issue is that on some of the trips, you click onto them and it shows the journey continuing on 'through' the stop and onto what should be the next trip but the next trip it only shows half of it. It's very strange.
image

Another issue is that on normal stops (take stop 7 for example https://bustimes.org/stops/4900164307), you click on a departure time and it generally only shows a small part of the trip. It knows which bus it is though and if you go through the bus details page, click on the trip you will find the trip show up normally with all stops.

  • As the TfL API only does arrivals, not departures, the easiest thing I can do is change the heading "Next departures" to "Next arrivals"
    • Might be useful to have an arrivals options for all stops too...
  • The vehicle arrivals endpoint is by vehicle, it has no concept of a trip, but I could add some kind of separator where the direction or destinationName changes in the list of arrivals
  • It should also be possible to use the timetable to extend the list of stops for a trip, but that might be the wrong thing to do when certain stops are closed or a trip is truncated "to even out the service" etc

Not sure how easy it is for you to do but could you filter a script which says 'if this is the last stop, do not display'? That would solve some issues.

For the other points about not all stops showing when you click into a trip, that sounds like it may be a more difficult situation to solve.