Convert GTFS to PMTILES

Turn GTFS files into PMTILES. A PMTiles archive of vector tiles in Web Mercator with one layer named after the file and each feature's attributes as its properties, from zoom 0 to the deepest zoom, at most 14, at which the map spans no more than 64 tiles across.

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 as map tiles.Stops become points and routes become lines in one PMTiles archive.

  1. What you get

    A PMTiles archive of vector tiles in Web Mercator. It holds one layer named after the file, and each feature's attributes become its properties. The tiles run from zoom 0 to the deepest zoom, at most 14, at which the map spans no more than 64 tiles across.

    Stops become points with all their columns. Each route becomes a line with its columns, drawn along the shapes its trips follow. For trips without a shape, the line runs through their stops in order.

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

  2. What changes or is left out

    Coordinates are rounded to each zoom's tile grid, and shapes are cut at tile edges. A tile over 500 KB is written with less detail or fewer features.

    Lists and nested values become JSON text. Features without a geometry are left out.

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

PMTiles

Vector map tiles for every zoom in one PMTiles archive, which a web map reads straight from a file server.

Extensions
.pmtiles
MIME type
application/vnd.pmtiles
Kind
Text and data

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

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

Questions.What people ask about GTFS to PMTILES.

01OF 04

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

As a line with the route's columns. It follows the shapes its trips use, or goes through their stops in order when a trip has no shape.

One, named after the file. If the feed has several layers, they are joined into it, and the layer column shows where each feature came from.

At most 14. The archive stops at the deepest zoom where the map spans no more than 64 tiles across.

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