Simple Go library for loading and using static GTFS data.
Install with:
go get "github.com/DanielOaks/go.gtfs"
Use with:
import "github.com/DanielOaks/go.gtfs"
Examples assume you have directory called sf_muni
containing GTFS files.
feed := gtfs.Load("sf_muni")
route := feed.RouteByShortName("N")
coords := route.Shapes()[0].Coords