Convert GTFS data into GeoJSON.
npm install --save gtfs2geojson
lines(gtfs)
Parse GTFS shapes.txt data given as a string and return a GeoJSON FeatureCollection of features with LineString geometries.
routes(shapes, routes, trips)
Parse GTFS shapes.txt, routes.txt, and trips.txt files to create a MultiLineString geojson file that groups lines by route_id
stops(gtfs)
Parse GTFS stops.txt data given as a string and return a GeoJSON FeatureCollection of features with Point geometries.
- The andrewharvey fork of gtfs2geojson adds optimizations for large files.