Raster to MBTiles
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
Generates MBTiles from raster data from input GDAL-supported raster dataset.
Inputs:
Raster dataset - RGB, RGBA, singleband grayscale or singleband paletted GDAL-supported raster dataset;
Zoom levels - Optional. A range, e.g.
8-14;Output name - Optional. Name for the output MBTiles file. .mbtiles extension will be added automatically.
Outputs:
Tiles in MBTiles format.
Example:
GeoTIFF file in QGIS¶
MBTiles opened in NextGIS Mobile¶
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.