Important: gdalUtils_gdalPath environment variable must point to path where GDAL is installed.

gdal2Tiles(raster, outputPath, zoomRange, colorTableFile)

Arguments

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.

Value

Leaflet map url template path. # TODO: improve description

Note

Requires GDAL (>=2) and python are found on the system PATH.