Open whisper-bye opened 6 months ago
By the documentation https://gdal.org/programs/gdal2tiles.html creation options are not supported. I added an "enhancement" label.
-co is not a supported option of gdal2tiles. The argument parser is a bit confused because I believe it somehow starts to interprets -co as the -c (--copyright) option
ok, digging further, "-co" is interpreted as "--copyright=o", and then ZLEVEL=1 is considered as an input file name, so the utility sees ZLEVEL=1 and input.tif as 2 input filenames, which isn't supported
What is the bug?
When I attempt to use the gdal2tiles.py tool and specify the PNG driver parameter -co ZLEVEL=1, I encounter an error.
Steps to reproduce the issue
$ gdal2tiles.py -co ZLEVEL=1 input.tif output_folder
Versions and provenance
gdal2tiles.py --version GDAL 3.8.5, released 2024/04/02
Additional context
No response