gdal2tiles.py --profile=geodetic \
--s_srs='EPSG:4326' --zoom=0-18 \
--tmscompatible --force-kml \
--webviewer=leaflet --title=TumIstanbul \
tum_ist_bffr_250m_v4.tif gdal_tiles_result.tif
Description :

See : https://gdal.org/en/stable/programs/gdal2tiles.html

  • "--profile" options: geodetic, raster, mercator
  • "--tms_compatible": It should have the same tile numbers as TMS tiling.
  • "--webviewer": leaflet, openlayers, google options.
  • "--force-kml": also saves kml files.
Example :

2025 Mar