Important: gdalUtils_gdalPath
environment variable must point to
path where GDAL is installed.
gdal2Tiles(raster, outputPath, zoomRange, colorTableFile)
raster | Raster to generate tiles from. |
---|---|
outputPath | Output folder path. |
zoomRange | List of numbers representing zoom value to generate tiles for. |
colorTableFile | Table file that contains colour values for tiles. |
Leaflet map url template path. # TODO: improve description
Requires GDAL (>=2) and python are found on the system PATH
.