Convert KML to PMTILES
Turn KML 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 KML files on the dialor turn it to pick what to do
Vector map tiles from a KML file.One PMTiles archive that a web map can read straight from a file server.
What you get
A single PMTiles archive of vector tiles in Web Mercator. It holds 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, so a KML placemark with no shape does not appear in the archive.
Several layers
When the KML holds several layers, they are joined into one. A layer column names where each feature came from, so you can still tell them apart.
This conversion has no options to set. For other formats, see every KML conversion.
KML and PMTILES.What each format is.
The formats
KML
Placemarks, paths and polygons for Google Earth.
- Extensions
- .kml
- MIME type
- application
/vnd .google -earth .kml +xml - 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 KML to PMTILES conversion through the API, for your app or your agent.
$ cv convert report.kml report.pmtiles$ cv convert report.kml report.pmtilesQuestions.What people ask about KML to PMTILES.
One. It is named after the file. If the KML has several layers, they are joined into it, and a layer column names the source of each feature.
The tiles go 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.
Yes. Each feature's attributes become its properties. Lists and nested values are written as JSON text.
No. Features without a geometry are left out. In a tile over 500 KB, some detail or features can also be dropped.