Convert SHP to PMTILES

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

Vector tiles from a zipped shapefile.One PMTiles archive with every zoom level, ready for a web map.

  1. What you get

    A single PMTiles file of vector tiles in Web Mercator. It holds one layer named after the file, and each feature's attributes become that layer's properties.

    The tiles run from zoom 0 down to the deepest zoom, at most 14. The deepest zoom is the one at which the map spans no more than 64 tiles across.

  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.

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

  3. Coordinate systems

    Data that names no coordinate system is taken as WGS 84 when its coordinates fit. When they do not fit, the conversion stops with unsupported_elements.

    For other conversions from this format, see every SHP conversion.

SHP and PMTILES.What each format is.

The formats

From · 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
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 SHP to PMTILES conversion through the API, for your app or your agent.

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

Questions.What people ask about SHP to PMTILES.

01OF 04

One. It is named after the file. If the source has several layers, they are joined into it, and the layer column shows which one each feature came from.

Yes. Each feature's attributes become its properties. Lists and nested values are stored as JSON text.

The data names no coordinate system, and its coordinates do not fit WGS 84. Data without a named system is only accepted when the coordinates fit.

No. Features without a geometry are left out of the archive.

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