Geodata to PMTiles
The code below uses the Toolbox SDK, which you can install with pip install toolbox-sdk.
Additional Python examples: using SDK, using Requests. If you prefer other programming language or need full API reference, check out Toolbox OpenAPI as well.
Docs
Generate PMTiles from vector or raster file. PMTiles is a single-file archive format for tiled data. A PMTiles archive can be hosted on a commodity storage platform such as S3, and used in web applications via HTTP queries.
To create tiles in other formats, use these tools
Tiles suitable for NextGIS Mobile Generate raster tiles from QGIS project
Tiles for NextGIS Mobile Raster to NGRC
Inputs:
Input file. Vector or raster layer.
Minimum zoom. 0-19
Maximum zoom. 0-19
Outputs:
PMTiles file
Example:
Example input¶
Example output¶
Try the tool in action
Click on the Demo button above the tool form. The fields are filled in with demo values.
Click on the Run button.