Convert GTFS to GPKG

Turn GTFS files into GeoPackage. A GeoPackage with one layer of the features and their attributes, in the source's coordinate system.

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 a map layer.Stops become points and routes become lines in one GeoPackage file.

  1. What you get

    A GeoPackage with one layer of the features and their attributes, kept in the source's coordinate system. QGIS and ArcGIS read the file.

    Each stop becomes a point with all its 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.

  3. What changes

    Lists and nested values become JSON text, so they sit in a single column as text.

    When the feed gives several layers, they are joined into one. A layer column names where each feature came from. See every GPKG conversion for other ways to make this format.

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

GeoPackage

The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.

Extensions
.gpkg
MIME type
application/geopackage+sqlite3
Kind
Text and data

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

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

Questions.What people ask about GTFS to GPKG.

01OF 04

A point that carries all of the stop's columns.

As a line with its columns. It follows the shapes its trips follow, or runs through the stops of a trip in order when that trip has no shape.

No. The output is one file with one layer. Several layers are joined into it, and the layer column tells you where each feature came from.

They become JSON text in their column.

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