Re: [gdal-dev] GDAL CLI Modernization Webinar June 3rd at 1400 UTC

2025-05-12 Thread Matt.Wilkie via gdal-dev
> The GDAL Project Steering Committee was pleased to announce the release of > GDAL 3.11.0 on May 9th, 2025. The 2024 GDAL User Survey [1] showed the GDAL > Command Line Interface (CLI) to be in need of modernization, and GDAL 3.11.0 > is the first release to provide a substantial refactoring of

[gdal-dev] GDAL CLI Modernization Webinar June 3rd at 1400 UTC

2025-05-12 Thread Howard Butler via gdal-dev
The GDAL Project Steering Committee was pleased to announce the release of GDAL 3.11.0 on May 9th, 2025. The 2024 GDAL User Survey [1] showed the GDAL Command Line Interface (CLI) to be in need of modernization, and GDAL 3.11.0 is the first release to provide a substantial refactoring of the com

[gdal-dev] GDAL 3.10.3 build question on Windows

2025-05-12 Thread Fengting Chen via gdal-dev
I am trying to build GDAL 3.10.3 on windows. There were no errors during the build, but somehow the python bindings were not installed to the specified directory (CMAKE_INSTALL_PREFIX). all other files are installed as expected. Here is the part of the makefile: build_gdal_binary:

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
Hi, So now we have the right question: how to remove overviews from cloud optimized GeoTIFF. First confirm your findings: gdal_create -of cog -outsize 1000 1000 cog.tif 0...10...20...30...40...50...60...70...80...90...100 - done. test1: gdaladdo cog.tif ERROR 6: cog.tif: Cannot add external ov

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
Hi, Can you reproduce even with these three commands: gdal_create -outsize 1000 1000 test.tif gdaladdo test.tif gdaladdo -clean test.tif If you can I fear the only solution is to say goodbye to Mac and switch to Windows ;) -Jukka Rahkonen- Lähettäjä: Ja

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

[gdal-dev] I cannot clean overviews from GeoTIFF

2025-05-12 Thread Javier Jimenez Shaw via gdal-dev
Hi I am trying to clean the overviews from a GeoTIFF, but gdaladdo does not allow me. Is that an expected behaviour? Maybe I am missing more options. (there is no opposite of "-ro") $ gdaladdo --debug on -clean out/test.tif GDAL: GDALOpen(out/test.tif, this=0x133058e00) succeeds as GTiff. GTiff: