Generates directory with TMS or XYZ tiles, KMLs and simple web viewers with multithreading support.
This is a fork of the script available at official OSGeo/gdal repository: gdal2tiles
$ gdal2tiles.py [options ...] input_file [output_dir]
All supported options are available here: www.gdal.org/gdal2tiles
Extras:
-x, --xyz
additional option that allows tiles to be generated in the XYZ format