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.
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.
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.
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
FlatGeobuf
FlatGeobuf, a compact binary format for map features that streams over the web.
- Extensions
- .fgb
- MIME type
- application
/flatgeobuf - Kind
- Text and data
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.
$ cv convert report.fgb report.pmtiles$ cv convert report.fgb report.pmtilesQuestions.What people ask about FGB to PMTILES.
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.