/gtfs2geojson

Convert GTFS data into GeoJSON.

Primary LanguageJavaScriptISC LicenseISC

gtfs2geojson

CircleCI Greenkeeper badge

Convert GTFS data into GeoJSON.

npm install --save gtfs2geojson

API

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.

See also