Closed lopezvoliver closed 8 months ago
The command works as expected using GDAL 3.6.2, released 2023/01/02
.
Could you study the gdal_create utility https://gdal.org/programs/gdal_create.html and write a command that creates a similar file that you have for testing?
Like this it should be:
gdal_create -of COG -outsize 3422 2767 -bands 3 -burn 255 -burn 50 -burn 50 -ot byte -a_srs epsg:4326 -a_ullr 38.2344 29.9801 38.5766 29.7034 gdal2tilestest.tif
I confirm that I get the same error on Windows with GDAL 3.8.3 (OSGeo4W) and Python 3.9.18.
fix in https://github.com/OSGeo/gdal/pull/9282 . Simple workaround is to remove the -v
flag
fix in #9282 . Simple workaround is to remove the
-v
flag
Yep, this worked.
Expected behavior and actual behavior.
I got this error when trying to generate xyz tiles:
Before the error, the tiles for the previous zoom level (13) were generated, the error occurred on the zoom level 12.
More details of the error:
This is the raster info:
Steps to reproduce the problem.
This is the command I used:
Operating system
Ubuntu 22.04.4 LTS
GDAL version and provenance
Installed from conda-forge:
I also tested on another environment using version 3.73 and got the same error.
I found this issue https://github.com/OSGeo/gdal/issues/8208 but it got closed because the user was trying to generate kmz file, which is not supported. Here, I am trying to generate xyz tiles.