2022-06-27 13:28:12 +01:00
|
|
|
# gdal2tiles.py
|
|
|
|
|
|
|
|
> Generate TMS or XYZ tiles for a raster dataset.
|
|
|
|
> More information: <https://gdal.org/programs/gdal2tiles.html>.
|
|
|
|
|
2024-02-09 13:57:01 +00:00
|
|
|
- Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset:
|
2022-06-27 13:28:12 +01:00
|
|
|
|
2024-02-09 13:57:01 +00:00
|
|
|
`gdal2tiles.py --zoom 2-5 {{path/to/input.tif}} {{path/to/output_directory}}`
|
2022-06-27 13:28:12 +01:00
|
|
|
|
2024-02-09 13:57:01 +00:00
|
|
|
- Generate XYZ tiles for the zoom levels 2 to 5 of a raster dataset:
|
2022-06-27 13:28:12 +01:00
|
|
|
|
2024-02-09 13:57:01 +00:00
|
|
|
`gdal2tiles.py --zoom 2-5 --xyz {{path/to/input.tif}} {{path/to/output_directory}}`
|