junosuarez / diy-bus-signs

print your own signage for your favorite bus stop
1 stars 0 forks source link

Investigate GTFS for bus schedules #2

Open junosuarez opened 10 years ago

junosuarez commented 10 years ago

GTFS (General Transit Feed Specification) is a standard for storing transit schedules. In Atlanta, this data is available at http://www.itsmarta.com/developer.aspx

For DIY Bus Signs, we'll need:

In this thread I'll add resources for reading from it and figure out what we need.

junosuarez commented 10 years ago

GTFS spec documentation: https://developers.google.com/transit/gtfs/

japanjeff commented 10 years ago

I'm not sure if we'll be able to use google maps to let someone pick a bus stop, but it looks like the "stop id" shown in the screenshot matches up with stop_code column in the stops.txt file.

image

Edit: To make life easier, we could just have the user enter "stop id" and then do queries based on that for the time-being.

japanjeff commented 10 years ago

Here's a diagram showing how the various parts of the GTFS with their relation and columns we'll probably need. Hopefully I haven't made any mistakes (fingers-crossed).

image

junosuarez commented 10 years ago

/cc @dget ^