You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · Web & JSON

PMTiles — Protomaps PMTiles (vector tiles)

Single-file archive of map tiles from Protomaps, here holding Mapbox Vector Tiles for serverless delivery over HTTP range requests.

Type
Vector · Web & JSON
Extension
.pmtiles
Converter
Read & write
Coordinate system
Always Web Mercator (tile scheme) (EPSG:3857)
Layers
Multiple

What is a PMTiles file?

PMTiles is a single-file archive format for pyramids of map tiles, created and maintained by the Protomaps project as an open specification. It is designed for cloud and static hosting. A web client can fetch individual tiles from a file on object storage or a CDN through HTTP range requests, without a dedicated tile server. When used for vector data, the archive stores tiles encoded as Mapbox Vector Tiles (MVT), which are typically gzip-compressed.

The file begins with a fixed header, followed by a root directory, metadata, optional leaf directories and the tile data. Tiles are addressed by IDs derived from a Hilbert curve, which keeps directories compact and allows identical tiles to be deduplicated. Content follows the Web Mercator tiling scheme and inherits MVT properties: named layers, quantised tile coordinates and simple attribute types. Features are generalised per zoom level, so the archive is a display product rather than a lossless store of source geometries.

PMTiles files are usually produced by map developers and data teams who publish basemaps or thematic layers on static hosting, and received by web mappers or GIS users who want to inspect them. Because tiles are generalised and clipped per zoom level, the content is made for display. Check the zoom range, layer names and attribute set before converting, and keep the original source data.

Typical uses

  • Hosting a vector basemap on object storage or a CDN without a tile server.
  • Distributing a large tiled dataset as one file instead of a folder of z/x/y tiles.
  • Displaying vector layers in web maps built with MapLibre GL JS.
  • Packaging tiles generated from GeoJSON or OSM data for offline or archive use.
Files: Single .pmtiles archive of map tiles (usually gzip-compressed vector tiles) designed to be read over HTTP range requests.

Sample PMTiles files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena basemap st-helena-basemap.pmtiles

Basemap vector tiles (z10–14)

PMTiles v3 archive with Mapbox Vector Tiles, zoom 10–14 (7 layers).

  • island · MultiPolygon · 37
  • landcover · MultiPolygon · 262
  • waterways · MultiLineString · 158
  • contours · MultiLineString · 177
  • EPSG:3857
  • 374.2 kB
Attributes (3)
nameStringarea_km2Realosm_idString
Saint Helena122.914868269

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Frequently asked questions

MBTiles is a SQLite database of tiles, so it normally needs a server or library to read it. PMTiles is a flat archive with a directory structure, so a client can fetch single tiles by HTTP range requests directly from static storage.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.