Convert GPX to PMTILES

Turn GPX 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 GPX files on the dialor turn it to pick what to do

A web map tile archive from your GPX file.Waypoints, routes and tracks become vector tiles in one PMTiles file.

  1. What you get

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

    Waypoints and route points become points. Routes and tracks become lines. A layer column tells you which GPX layer each feature comes from: waypoints, routes, tracks or route_points. Columns that no feature fills are left out.

  2. What changes

    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.

  3. What is left behind

    Single track points are left out. With them go the times and logged values of tracks, so the archive shows where a track runs but not when.

    To combine several files before you convert, try merge GPX. For other outputs, see every GPX conversion.

GPX and PMTILES.What each format is.

The formats

From · GPX

GPX

GPS tracks, routes and waypoints in XML.

Extensions
.gpx
MIME type
application/gpx+xml
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 GPX to PMTILES conversion through the API, for your app or your agent.

terminal
$ cv convert report.gpx report.pmtiles
$ cv convert report.gpx report.pmtiles

Questions.What people ask about GPX to PMTILES.

01OF 04

Waypoints, route points, routes and tracks. Waypoints and route points become points, and routes and tracks become lines.

No. Single track points are left out, and the times and logged values of tracks go with them.

It starts at zoom 0 and goes to the deepest zoom, at most 14. That is the zoom at which the map spans no more than 64 tiles across.

Each feature has a layer column that names its GPX layer: waypoints, routes, tracks or route_points.

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