brnstz / bus

Mobile web app for discovering public transit in NYC --
https://token.live
MIT License
5 stars 2 forks source link

Add NYC protobuf extensions #38

Closed jprobinson closed 8 years ago

jprobinson commented 8 years ago

Not sure if you've pulled these in already, but you can import them to add a few NYC-specific fields to the generic GTFS spec:

http://datamine.mta.info/sites/all/files/pdfs/nyct-subway.proto.txt

Already generated here if you want to copy: https://godoc.org/github.com/jprobinson/gtfs/nyct_subway_proto

Also, example of use: https://github.com/jprobinson/gosubway/blob/master/subway.go#L12-L13

brnstz commented 8 years ago

Cool, I didn't know about these. Will pull it in if I need the info! Thanks.

brnstz commented 8 years ago

It happened! @jprobinson

https://github.com/brnstz/bus/blob/master/internal/partners/mta_nyct_subway.go#L77-L100

jprobinson commented 8 years ago

:tada: nice!