A day of Muni, according to NextBus

    Newer Older

    Black is less than 7mph. Red is less than 19mph. Blue is less than 43mph. Green is above that. The day is the 24 hours just before I posted it.

    Dollar Bin, antimega, sirgious, and 77 other people added this photo to their favorites.

    1. Dollar Bin 49 months ago | reply

      Nice visualization!

    2. drspam 49 months ago | reply

      this is super-awesome! how did you pull all this data together? did you do it yourself, like culling stop info from nextbus? or is this data publicly available and you put together the map?

      regardless, it is pretty freaking cool.

    3. Eric Fischer 49 months ago | reply


      The data is public -- see http://www.sfmta.com/cms/asite/nextmunidata.htm and the "vehicleLocations" request. Each time you make the request it will send back the latitude and longitude of where each bus was the last time it checked in and how long ago that was.

    4. byDavvi 49 months ago | reply

      This is wonderful! What software did you use?

    5. Eric Fischer 49 months ago | reply

      Thanks! I used a couple of perl scripts to process the data and write out a PostScript file, and Ghostscript to render that to a JPEG.

    6. byDavvi 49 months ago | reply

      Do you think its possible to create this as a layer in Google Maps?

    7. georgebell 49 months ago | reply

      Please check out my viewer for TTC Data...


    8. sethoscope 45 months ago | reply

      I love the rounded-interior corner shape created by the low sampling rate.

    9. blarfiejandro 44 months ago | reply

      Yes, it should be possible to apply that data to a variety of maps. NextBus already has a Google Maps version of their real-time map available from their web site. I used OpenStreetMaps so that I could layer the street and station names on top of the speed information.


    10. blarfiejandro 44 months ago | reply

      Also worth noting that depending on what your use is, you'll want to spend some time cleaning up the NextBus data. I tend to get 2-3 vehicles a day (often cable cars) that report speeds of over 100mph... and (more often) vehicles nowhere near a street.

    11. byDavvi 44 months ago | reply

      Glad to know! Thank you.

    12. smfr123 44 months ago | reply

      Congrats Eric, you made Neatorama!

    13. sunshineboz 44 months ago | reply

      yes, I found your photo from browsing Neatorama too, awesome!

    keyboard shortcuts: previous photo next photo L view in light box F favorite < scroll film strip left > scroll film strip right ? show all shortcuts