Convert FGB to PMTILES

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

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

  1. What you get

    A single PMTiles archive of vector tiles in Web Mercator. It has one 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. 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 of the archive.

  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 more FlatGeobuf conversions, see every FGB conversion.

FGB and PMTILES.What each format is.

The formats

From · FGB

FlatGeobuf

FlatGeobuf, a compact binary format for map features that streams over the web.

Extensions
.fgb
MIME type
application/flatgeobuf
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 FGB to PMTILES conversion through the API, for your app or your agent.

terminal
$ cv convert report.fgb report.pmtiles
$ cv convert report.fgb report.pmtiles

Questions.What people ask about FGB to PMTILES.

01OF 04

The layer is named after the file. There is one layer, and it holds all the features.

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

They are left out of the archive.

The file names no coordinate system, and its coordinates do not fit WGS 84. Data like that is taken as WGS 84 only when its coordinates fit.

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