Convert GTFS to SHP

Turn GTFS files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Transit stops and routes for your GIS program.Stops become points and routes become lines, in a zip of shapefiles.

  1. What you get

    One zip file with a shapefile for each kind of geometry found: points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts. The coordinate system of the source is kept, and the attributes are written as UTF-8 columns.

    Stops become points and keep all their columns. Each route becomes a line with its columns.

  2. How routes are drawn

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

    If the feed has several layers, they are joined into one. A layer column names where each feature came from.

  3. What changes or is dropped

    Column names are cut to 10 characters. Lists and nested values become JSON text, so they are kept as text and not as separate columns.

    Features without a geometry are left out.

    For other targets, see every SHP conversion.

GTFS and SHP.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 · SHP

Shapefile

Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.

Extensions
.shp.zip .shz .shp
MIME type
application/x-shapefile+zip
Kind
Text and data

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

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

Questions.What people ask about GTFS to SHP.

01OF 04

A point. It keeps all of its columns.

As a line. It follows the shapes its trips follow. For trips without a shape, it goes through their stops in order.

Column names are cut to 10 characters in the shapefile.

No. Features without a geometry are left out. Lists and nested values are kept only as JSON text.

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