codeforboston / mbta-ninja

MBTA Ninja!
http://mbta.ninja
MIT License
82 stars 46 forks source link

Add support for orange line #19

Closed radhikamalik closed 9 years ago

radhikamalik commented 9 years ago

A lot of popular demand!

patrickgreenwell commented 9 years ago

I'd morph this into consuming GTFS data about subway stops and listing them out as separate lines.

Take a look at routes.txt

you could filter the list of stuff there based on the route_type.

You'd probably need to modify how you load up stops in Mongo to make it different than the static list you have now.

geoffreylitt commented 9 years ago

Thanks for the tip @patrickgreenwell ! I'm going to look into that now for adding all the MBTA lines.

patrickgreenwell commented 9 years ago

there's also a node-gtfs tool that loads a gtfs feed into a mongo db brendannee/node-gtfs I believe.

geoffreylitt commented 9 years ago

Awesome, that's a really helpful tip @patrickgreenwell ! Thanks so much.

I played around with the API for a bit, but decided to quickly hack in green/orange line support for tomorrow morning. Will look into a more sustainable approach w/ the API as part of #13 .