mattwigway / gtfsrdb

GTFSrDB is a tool to archive gtfs-realtime data to a database.
56 stars 24 forks source link

Adds support for GTFS-realtime VehiclePosition feeds via a -p command #4

Closed barbeau closed 11 years ago

barbeau commented 11 years ago

line parameter.

Tested using GTFS-realtime Vehicle Positions feed for HART buses in Tampa, Florida: http://onebusaway.forest.usf.edu:8088/vehicle-positions

(View this feed in plain text here): http://onebusaway.forest.usf.edu:8088/vehicle-positions?debug

Example usage: gtfsrdb.py -p http://onebusaway.forest.usf.edu:8088/vehicle-positions -d sqlite:///test.db -c

I edited these attached Python files in Eclipse, not sure why its showing a deletion and addition of the entire files. If you want me to go back and see if I can clean this up let me know.

mattwigway commented 11 years ago

Yes, it looks like this commit uses Windows line endings (I fixed it). You'll probably want to set Eclipse to use Unix line endings as this is what most open-source projects use. Incidentally, if you append ?w=1 to the end of a GitHub commit URL it shows only the substantial changes, ignoring whitespace changes.

barbeau commented 11 years ago

Thanks!