gdal2tiles.py: add page (#8156)

pull/1/head
Jakob Miksch 2022-06-27 14:28:12 +02:00 committed by GitHub
parent 34fde6d16f
commit c9654d05b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# gdal2tiles.py
> Generate TMS or XYZ tiles for a raster dataset.
> More information: <https://gdal.org/programs/gdal2tiles.html>.
- Generate TMS tiles for the zoom levels 2-5 of a raster dataset:
`gdal2tiles.py --zoom={{2-5}} {{path/to/input.tif}} {{path/to/output_directory}}`
- Generate XYZ tiles for the zoom levels 2-5 of a raster dataset:
`gdal2tiles.py --zoom={{2-5}} --xyz {{path/to/input.tif}} {{path/to/output_directory}}`