Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Javier Jimenez Shaw via gdal-dev
Thank you Even and Jukka! On Mon, 12 May 2025 at 17:02, Even Rouault wrote: > Fix in https://github.com/OSGeo/gdal/pull/12351 > > You can workaround the issue by adding -oo IGNORE_COG_LAYOUT_BREAK=YES > (actually not needed for cleaning as this doesn't break the layout, but > definitely needed f

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Even Rouault via gdal-dev
Fix in https://github.com/OSGeo/gdal/pull/12351 You can workaround the issue by adding -oo IGNORE_COG_LAYOUT_BREAK=YES (actually not needed for cleaning as this doesn't break the layout, but definitely needed for adding to a COG) Le 12/05/2025 à 12:01, Javier Jimenez Shaw via gdal-dev a écrit

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
vements to COG driver manual page and to the error messages of gdaladdo. -Jukka Rahkonen- Lähettäjä: Javier Jimenez Shaw Lähetetty: Maanantai 12. toukokuuta 2025 16.48 Vastaanottaja: Rahkonen Jukka Kopio: gdal dev Aihe: Re: [gdal-dev] I cannot clean over

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Javier Jimenez Shaw via gdal-dev
Apparently it is related with COG: $ gdal_translate -of COG foo.tif foo.cog.tif Input file size is 1000, 1000 0...10...20...30...40...50...60...70...80...90...100 - done. $ gdaladdo -clean --debug ON foo.cog.tif GDAL: GDALOpen(foo.cog.tif, this=0x15900ae00) succeeds as GTiff. GTiff: ScanDirectori

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
: Javier Jimenez Shaw Lähetetty: Maanantai 12. toukokuuta 2025 14.28 Vastaanottaja: Rahkonen Jukka Kopio: gdal dev Aihe: Re: [gdal-dev] I cannot clean overviews from GeoTIFF Thanks Jukka. That was my first guess.However before sending the email I checked it. "ls -l" is telling me this (I un

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Javier Jimenez Shaw via gdal-dev
Thanks Jukka. That was my first guess. However before sending the email I checked it. "ls -l" is telling me this (I understand I can modify it) $ ls -l out/test.tif -rw-r--r-- 1 jshaw staff 1356600907 May 12 11:38 out/test.tif On Mon, 12 May 2025 at 12:40, Rahkonen Jukka < jukka.rahko...@ma

Re: [gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Rahkonen Jukka via gdal-dev
Hi, Tested with GDAL 3.12.0dev-8130fe444e, released 2025/04/28 (OSGeo4W) on Windows. gdaladdo addo.tif -clean --debug on ... GDAL: GDALOpen(addo.tif, this=02E622185320) succeeds as GTiff. GTiff: ScanDirectories() GTiff: Opened 6000x6000 overview. GTiff: Opened 3000x3000 overview. GTiff: Opene