News for hackers. Stuff that matters.
Re:Query Real-time SF Bus Locations With GeoFire 2.0 by WalterSear on Monday June 23, 2014 @02:32PM (#7933568)
Where are you getting the location data for the buses from?

AFAICT, the location data coming from Muni isn't live. That, or there are invisible buses roaming SF, that don't stop for me and teleport about.

Re:Query Real-time SF Bus Locations With GeoFire 2.0 by mayop100 on Monday June 23, 2014 @02:35PM (#7933592)
It's being populated from a Firebase Open Data Set: https://www.firebase.com/docs/data/index.html

The open data sets are in turn being populated by a script we (Firebase) operates that pulls data from the NextBus API. It is live, real-time data, though the API does have inaccurate data from time-to-time.

Re:Query Real-time SF Bus Locations With GeoFire 2.0 by WalterSear on Monday June 23, 2014 @02:39PM (#7933623)
Thanks. Though if you are able to actually check the routes on the ground, I believe that you will find that it's lying somewhere in SF, most of the time.

Why would something that was pulling data from buses only lie from time-to-time? The answer is that it's not live, I'm afraid. It's freaking.

Re:Query Real-time SF Bus Locations With GeoFire 2.0 by dsl on Monday June 23, 2014 @03:21PM (#7933937)
Lie is a strong word. What you are seeing likely the result of lost connectivity to the bus, which NextBus compensates for with dead reckoning. Busses also deviate from planned routes to deal with construction, head to depots, or other random things.
Re:Query Real-time SF Bus Locations With GeoFire 2.0 by WalterSear on Monday June 23, 2014 @03:32PM (#7934036)
That doesn't explain the ones that are continually leave the station, with the prediction constantly resetting as the bus doesn't leave. Or the ones that don't show up, and then the next one does, right on time.

If you don't know where something is, you don't know where it is. To give a number anyway is disengenuous, and breaks trust. To do it all the time, and call your data 'real-time' without caveat - lying may be a strong word for it, but it's still appropriate.

Re:Query Real-time SF Bus Locations With GeoFire 2.0 by thrownaway2424 on Monday June 23, 2014 @04:00PM (#7934234)
NextBus always uses a straight-line estimate for the vehicle position within a few stops from the terminal. This is based on the departure times in the Muni published schedule. However, Muni operators and dispatchers do not adhere to this schedule in any way, so the estimates that NextBus gives near the beginning of Muni lines are pure fabrications. Lies, you might say.