gdal2tiles.py --version (return code: 0)
GDAL 2.2.1, released 2017/06/23
gdal2tiles.py --help (return code: 0)
Usage: gdal2tiles.py [options] input_file(s) [output]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-p PROFILE, --profile=PROFILE
Tile cutting profile (mercator,geodetic,raster) -
default 'mercator' (Google Maps compatible)
-r RESAMPLING, --resampling=RESAMPLING
Resampling method (average,near,bilinear,cubic,cubicsp
line,lanczos,antialias) - default 'average'
-s SRS, --s_srs=SRS The spatial reference system used for the source input
data
-z ZOOM, --zoom=ZOOM Zoom levels to render (format:'2-5' or '10').
-e, --resume Resume mode. Generate only missing files.
-a NODATA, --srcnodata=NODATA
NODATA transparency value to assign to the input data
-d, --tmscompatible When using the geodetic profile, specifies the base
resolution as 0.703125 or 2 tiles at zoom level 0.
-v, --verbose Print status messages to stdout
-q, --quiet Disable messages and status to stdout
KML (Google Earth) options:
Options for generated Google Earth SuperOverlay metadata
-k, --force-kml Generate KML for Google Earth - default for 'geodetic'
profile and 'raster' in EPSG:4326. For a dataset with
different projection use with caution!
-n, --no-kml Avoid automatic generation of KML files for EPSG:4326
-u URL, --url=URL URL address where the generated tiles are going to be
published
Web viewer options:
Options for generated HTML viewers a la Google Maps
-w WEBVIEWER, --webviewer=WEBVIEWER
Web viewer to generate
(all,google,openlayers,leaflet,none) - default 'all'
-t TITLE, --title=TITLE
Title of the map
-c COPYRIGHT, --copyright=COPYRIGHT
Copyright for the map
-g GOOGLEKEY, --googlekey=GOOGLEKEY
Google Maps API key from
http://code.google.com/apis/maps/signup.html
-b BINGKEY, --bingkey=BINGKEY
Bing Maps API key from https://www.bingmapsportal.com/