Convert GML to PMTILES
Turn GML 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 GML files on the dialor turn it to pick what to do
Map features as vector tiles in one file.One PMTiles archive with a layer named after the file, from zoom 0 down to the deepest zoom.
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 its properties.
The tiles run from zoom 0 to the deepest zoom, at most 14, at which the map spans no more than 64 tiles across. The result is one file.
What changes or is left behind
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.
If the file holds several layers, they are joined into one. A layer column names where each feature came from.
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 other GML conversions, see every GML conversion.
GML and PMTILES.What each format is.
The formats
GML
Geography Markup Language, the OGC's XML for map features, as WFS services send it.
- Extensions
- .gml
- MIME type
- application
/gml +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 GML to PMTILES conversion through the API, for your app or your agent.
$ cv convert report.gml report.pmtiles$ cv convert report.gml report.pmtilesQuestions.What people ask about GML to PMTILES.
The layer is named after the file. Each feature's attributes are its properties.
No. Features without a geometry are left out.
They are joined into one layer. A layer column names where each feature came from.
The data names no coordinate system, and its coordinates do not fit WGS 84. Data without a named system is only accepted as WGS 84 when the coordinates fit.