Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Even Rouault via gdal-dev
Hum, it would be useful if you could subset the input file to the minimum needed to reproduce the error and (possibly privately) share it to me. Even Le 20/08/2025 à 23:36, Javier Jimenez Shaw a écrit : Right. it fails $ gdal_translate web_mercator.tif web_mercator_jpeg.tif -co COMPRESS=JPE

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Javier Jimenez Shaw via gdal-dev
Right. it fails $ gdal_translate web_mercator.tif web_mercator_jpeg.tif -co COMPRESS=JPEG -co BIGTIFF=YES -of GTIFF -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -oo NUM_THREADS=ALL_CPUS Input file size is 677881, 303664 0.. - estimated remain

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Rahkonen Jukka via gdal-dev
pio: gdal dev Aihe: Re: [gdal-dev] Problems generating a COG file On Wed, 20 Aug 2025 at 21:41, Javier Jimenez Shaw wrote:On Wed, 20 Aug 2025 at 20:31, Even Rouault wrote:Javier,- which GDAL version it is ?$ gdalinfo --versionGDAL 3.11.3 "Eganville", released 2025/07/12(I installed c

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Even Rouault via gdal-dev
Can I do other useful tests tonight? Maybe just check/confirm that the issue is multithreading on the decoding side (which it looks to be) with: gdal_translate web_mercator.tif web_mercator_jpeg.tif -co COMPRESS=JPEG -co BIGTIFF=YES -of GTIFF -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSI

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Javier Jimenez Shaw via gdal-dev
On Wed, 20 Aug 2025 at 21:41, Javier Jimenez Shaw wrote: > > > On Wed, 20 Aug 2025 at 20:31, Even Rouault > wrote: > >> Javier, >> >> - which GDAL version it is ? >> > $ gdalinfo --version > GDAL 3.11.3 "Eganville", released 2025/07/12 > > (I installed conda and qgis today in that machine) > >>

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Javier Jimenez Shaw via gdal-dev
On Wed, 20 Aug 2025 at 20:31, Even Rouault wrote: > Javier, > > - which GDAL version it is ? > $ gdalinfo --version GDAL 3.11.3 "Eganville", released 2025/07/12 (I installed conda and qgis today in that machine) > - the "corrupted double-linked list" is definitely a proof of either a > bug, or

Re: [gdal-dev] Problems generating a COG file

2025-08-20 Thread Even Rouault via gdal-dev
Javier, - which GDAL version it is ? - the "corrupted double-linked list" is definitely a proof of either a bug, or a mis-configuration. This is a message we see sometimes when GDAL accidentally links against 2 different libproj. Can you check "ldd /path/to/libgdal.so" to see if there is not

[gdal-dev] Problems generating a COG file

2025-08-20 Thread Javier Jimenez Shaw via gdal-dev
Hi I am warping a file to EPSG:3857 and later generating a COG with JPEG compression. The input tif file has also JPEG compression. (I learned that I need the - dstalpha to keep it transparent) I am doing it in Ubuntu 22.04 using conda. First I tried this, using LZW as output of the warp GDAL_CA