[gdal-dev] Zarr v2 and compression problem with small blocks

2024-10-14 Thread Michael Sumner via gdal-dev
When I use compression for ZARR_V2 with these small block sizes, I get an error: gdal_translate "/vsicurl/ https://github.com/cran/png/blob/master/inst/img/Rlogo.png?raw=true"; lz4.zarr -of ZARR -co FORMAT=ZARR_V2 -co BLOCKSIZE=4,25,26 -co COMPRESS=LZ4 -co INTERLEAVE=BAND Input file size is 100,

Re: [gdal-dev] 2D multiband to 3D MULTIDIM results in duplicated "x" dimension

2024-10-14 Thread Even Rouault via gdal-dev
Le 14/10/2024 à 22:47, Michael Sumner a écrit : Thanks Even!   That makes sense. One quibble though, using the netcdf way gives order "Z, y, x",  but for Zarr "y, x, Z", is that expected? I can reorder with another step, I can't see see a relevant creation option. That can be controlled wit

Re: [gdal-dev] 2D multiband to 3D MULTIDIM results in duplicated "x" dimension

2024-10-14 Thread Michael Sumner via gdal-dev
Thanks Even! That makes sense. One quibble though, using the netcdf way gives order "Z, y, x", but for Zarr "y, x, Z", is that expected? I can reorder with another step, I can't see see a relevant creation option. gdal_translate Rlogo.png out.nc -mo NETCDF_DIM_EXTRA="{Z}" -mo NETCDF_DIM_Z_DEF=

Re: [gdal-dev] GDAL Windows Wheels

2024-10-14 Thread Even Rouault via gdal-dev
Le 13/10/2024 à 20:28, Petr Tsymbarovich via gdal-dev a écrit : Hi, I have added pipelines for building wheels for manylinux and musllinux, and renamed the repository to https://gitlab.com/mentaljam/gdal-wheels (not only Windows). You are welcome to test it! Petr, Did you try using both GD

[gdal-dev] GDAL 3.9.3 is released

2024-10-14 Thread Even Rouault via gdal-dev
Hi, On behalf of the GDAL/OGR development team, I am pleased to announce the release of the GDAL/OGR 3.9.3 bug fix version. This is the last one in the 3.9 series (Docker images should be available within ~ 24 hours or so) Consult the release notes for the list of issues addressed:     https:

Re: [gdal-dev] Motion: approve GDAL 3.9.3 RC1 as 3.9.3 release

2024-10-14 Thread Even Rouault via gdal-dev
Motion passed with +1 from PSC members JukkaR, JavierJS, HowardB and me Le 10/10/2024 à 15:33, Even Rouault via gdal-dev a écrit : Hi, Motion: approve GDAL 3.9.3 RC1 as 3.9.3 release Starting with my +1 Even -- http://www.spatialys.com My software is free, but my time generally not. Mostly

Re: [gdal-dev] 2D multiband to 3D MULTIDIM results in duplicated "x" dimension

2024-10-14 Thread Even Rouault via gdal-dev
Michael, fixed per https://github.com/OSGeo/gdal/pull/11005 Otherwise just do "gdal_translate Rlogo.png Rlogo.zarr -of Zarr" . By default the Zarr driver translates GDAL bands as the Z dimension, unless you specify the SINGLE_ARRAY=NO creation option, in which case it will create a Zarr array

[gdal-dev] 2D multiband to 3D MULTIDIM results in duplicated "x" dimension

2024-10-14 Thread Michael Sumner via gdal-dev
Possibly this is a fool's errand ... I want to be able to cast an RGBA file as a Zarr, so first to cast as multidim I tried the CreateCopy route with NetCDF and I see dimension "x" repeated, with "y" missing. (I'm using an external file as the existing test PNG files are square in shape). from os