gdal2tiles.py
Generate TMS or XYZ tiles for a raster dataset. More information: <https://gdal.org/programs/gdal2tiles.html>.
Install
- All systems
-
curl cmd.cat/gdal2tiles.py.sh
- Debian
-
apt-get install python-gdal
- Ubuntu
-
apt-get install python-gdal
- Arch Linux
-
pacman -S python-gdal
- Kali Linux
-
apt-get install python-gdal
- Fedora
-
dnf install gdal-python-tools
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python-gdal
- Raspbian
-
apt-get install python-gdal
- Dockerfile
- dockerfile.run/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
© tl;dr; authors and contributors