Public transit maps

November 18th, 2009
mbta, transport
I've wanted to see, for some time, I map of the area served by the MBTA that showed for each point how well served by public transit it was. If one thinks of a simple map of how long it takes to get to each place from a given location, the kind of heat map given by triptrop for NYC, the map I have in mind could be seen as setting each point on the target map to the sum of the time estimates on the triptrop map for that point.

There are some problems with this. First, adding raw transit times will weight long distances unreasonably. So we sum 1/(transit_time) over the area instead of transit_time or something similar. Or maybe we use a more complex function? We want some way to say "one hour or two hours a way -- I'm not going to go there anyways. But twenty minutes vs forty minutes is a big difference". A bigger problem is that not all destinations are equally valuable. Perhaps I would rather go to places with high population density, or high job density.

I thought about this some, found the mbta data available on line, and was considering starting to write something to make a map. Then I talked to Julia, she said this sounded like the walk score idea. I initially thought that walk score wouldn't be helpful because they're just using stop locations. It sounds like they are interested in scoring transit better, they jsut haven't done that yet. They have a transit score wiki page, an experimental "how far can you go in 45 minutes" page, and they pointed me to graph server (or maybe it really is here).

Graph server appears to take both the public transit data and the open street map data as input. Cool. They say

Graphserver provides a C implementation of Djikstra's shortest path algorithm. This algorithm can be used to solve any number of problems, including street routing, transit routing, network analysis, etc.

The core graphserver library has Python bindings (and deprecated Ruby bindings), which provide easy construction, storage, and analysis of graph objects. There are also a handful of tools designed to work with Open Street Map data and GTFS transit data."

I need to look at this more.

But I'm still not sure what to graph. I looked at some papers on the subject that I found linked from a discussion on transit-developers. I've only read the second of the two, and that I only skimmed, but it looks like this is a really complex problem.

Comment via: facebook, substack

Recent posts on blogs I like:

Differential diagnosis of loveshyness

In my life coaching practice, I see a lot of male clients who have trouble getting dates (including fairly severe trouble, such as never having been kissed in spite of being in their thirties).

via Thing of Things February 6, 2026

2025-26 New Year review

This is an annual post reviewing the last year and setting intentions for next year. I look over different life areas (work, health, parenting, effectiveness, etc) and analyze my life tracking data. Highlights include a minimal group house, the usefulness…

via Victoria Krakovna January 19, 2026

Family Christmas

Unlike many families my family celebrates Christmas with really really a lot of our family. This past year there were about 29 people at my Grandfather's house in the week around Christmas. I know what you're thinking: how does that work? It's…

via Lily Wise's Blog Posts January 3, 2026

more     (via openring)