Convert GTFS to GEOJSON

Turn GTFS files into GEOJSON. A GeoJSON FeatureCollection in WGS 84 longitude and latitude, as the GeoJSON standard asks, with each feature's attributes as its properties.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GTFS files on the dialor turn it to pick what to do

A transit feed as map data.Stops become points and routes become lines in one GeoJSON file.

  1. What you get

    One GeoJSON file holding a FeatureCollection. Coordinates are WGS 84 longitude and latitude, as the GeoJSON standard asks. Each feature carries its attributes as properties.

    Stops become points, and every column of a stop is kept. Each route becomes a line, and its columns are kept too.

  2. How routes are drawn

    A route line follows the shapes its trips use. For trips without a shape, the line runs through their stops in order.

    Several layers are joined into one file. A layer column on each feature names where it came from, so you can tell stops from routes.

  3. Next steps

    To combine the result with other map files, use merge GEOJSON. For other outputs, see every GEOJSON conversion.

GTFS and GEOJSON.What each format is.

The formats

From · GTFS

GTFS Feed

A transit agency's stops, routes, trips and timetables as the zip of GTFS text files that Google Maps and trip planners read.

Extensions
.gtfs.zip
MIME type
application/x-gtfs+zip
Kind
Text and data
To · GEOJSON

GeoJSON

Points, lines and polygons as JSON, the web's map data format.

Extensions
.geojson
MIME type
application/geo+json
Kind
Text and data

In your code.The same GTFS to GEOJSON conversion through the API, for your app or your agent.

terminal
$ cv convert report.gtfs.zip report.geojson
$ cv convert report.gtfs.zip report.geojson

Questions.What people ask about GTFS to GEOJSON.

01OF 04

A single GeoJSON FeatureCollection. Stops are points and routes are lines, each with its columns as properties.

No. They are joined into one file, and the layer column on each feature says which one it is.

It follows the shapes its trips use. If a trip has no shape, the line goes through the trip's stops in order.

WGS 84 longitude and latitude, as the GeoJSON standard asks.

More conversions.Other ways in and out of GTFS and GEOJSON.