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
> Can I do other useful tests tonight? How long does it take to fall asleep? -Jukka Rahkonen- Lähettäjä: gdal-dev käyttäjän Javier Jimenez Shaw via gdal-dev puolesta Lähetetty: Keskiviikko 20. elokuuta 2025 23.39 Vastaanottaja: Even Rouault Kopio: gd

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] Issue opening RAR archive with non-latin filenames

2025-08-20 Thread Rahkonen Jukka via gdal-dev
Hi, Perhaps the key is in the message "to current locale." When I have seen something similar on Windows and when using my default code page 850, changing the code page into 65001 (UTF-8) has often helped. But I have never met UTF-16BE data. -Jukka Rahkonen- _

Re: [gdal-dev] Issue opening RAR archive with non-latin filenames

2025-08-20 Thread Even Rouault via gdal-dev
Denis, | VSIARCH: Pathname cannot be converted from UTF-16BE to current locale. This error message comes directly from "libarchive" that GDAL uses underneath for RAR support. You could check with that project. Maybe support for that encoding is missing, or there is some compilation option to

[gdal-dev] Issue opening RAR archive with non-latin filenames

2025-08-20 Thread Denis Rykov via gdal-dev
Hello, I’m having trouble opening a RAR archive containing files with non-Latin characters using GDAL: $ docker run --rm -v `pwd`/arch.rar:/arch.rar:ro -e CPL_DEBUG=ON ghcr.io/osgeo/gdal:ubuntu-full-3.11.3 gdalinfo "/vsirar/arch.rar" VSIARCH: Opening arch.rar VSIARCH: Pathname cannot be converted

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