Skip to content


Subversion checkout URL

You can clone with
Download ZIP
mbta bus plotter using google app engine
Python C Other
Branch: master


latest commit e6f34cbd8e
Jeff Kaufman authored


MBTA Bus Plotter

Plots bus routes and locations, runs on google app engine

Live at

    - show a default set of routes,78,72
    - show specific routes
    - show all routes
     - very slow, may crash your browser,78,72&shading=true
    - shade and size routes by the number of buses currently on them
    - ideally we'd merge sections over the same area so we could size
      them properly, but we don't
      - the shared portions of routes will be underemphasized,78,72&buses=true
    - show buses   

  click on a route to show the buses on it

  click on it again (at least 45sec later) to update bus locations

  - makes xml requests to the nextbus web service and
    caches the results.  It serves index.html in response to most
    requests and json answers to requests for Paths or Buses.

  - index.html runs javascript with jquery to load the map, add the
    buses as markers, and add the paths as polylines.  It gets it's
    data by requesting json from Paths or Buses like this:
Something went wrong with that request. Please try again.