Convert TOPOJSON to PMTILES
Turn TOPOJSON 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 TOPOJSON files on the dialor turn it to pick what to do
Vector tiles from your TopoJSON.One PMTiles archive with every zoom level, ready for a web map to read.
What you get
A PMTiles archive of vector tiles in Web Mercator. It holds one layer named after the file, and each feature's attributes become that feature's properties.
The tiles run 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.
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.
Several layers
When the file has several layers, they are joined into one. A layer column names where each feature came from, so you can still tell them apart.
If you work with other formats, see every TOPOJSON conversion.
TOPOJSON and PMTILES.What each format is.
The formats
TopoJSON
TopoJSON, GeoJSON's compact cousin that shares borders between shapes, as D3 maps use it.
- Extensions
- .topojson
- MIME type
- application
/topo +json - 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 TOPOJSON to PMTILES conversion through the API, for your app or your agent.
$ cv convert report.topojson report.pmtiles$ cv convert report.topojson report.pmtilesQuestions.What people ask about TOPOJSON to PMTILES.
It runs 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.
The layer is named after the file. Each feature's attributes are its properties.
Features without a geometry are left out. A tile over 500 KB is written with less detail or fewer features.
They are joined into one layer. A layer column names where each feature came from.