Opened 3 weeks ago

Closed 3 weeks ago

#855 closed enhancement (fixed)

Missing c-blosc dependency for GDAL

Reported by: rouault Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc:

Description (last modified by jef)

From GDAL IRC: "I just realized that gdal embedded in qgis for windows, up to v3.9.2, doesn't include blosc compression for zarr format"

GDAL could potentially be built against https://github.com/Blosc/c-blosc

<arkanoid> by hacking a little into qgis, I figure out that the included gdal 3.7.2 DOES support zarr (run gdalinfo --formats from within gui), but open raster layer with ZARR:"<my zarr path>/var" ends with error "Decompressor blosc not-handled"

Change History (5)

comment:1 by jef, 3 weeks ago

Description: modified (diff)

comment:2 by jratike80, 3 weeks ago

For checking which compressions are built-in and supported by the GDAL version that is in use, do

gdalinfo --format zarr

...
  <Option name="COMPRESS" type="string-select" description="Compression method" default="NONE">
    <Value>NONE</Value>
    <Value>ZLIB</Value>
    <Value>GZIP</Value>
    <Value>LZMA</Value>
    <Value>ZSTD</Value>
    <Value>LZ4</Value>
  </Option>

in reply to:  3 comment:4 by jef, 3 weeks ago

Replying to jef:

What about https://github.com/Blosc/c-blosc2 ?

-- libblosc cannot be used as it lacks blosc_cbuffer_validate()

comment:5 by jef, 3 weeks ago

Resolution: fixed
Status: newclosed

Fixed in gdal-3.9.3-2

Note: See TracTickets for help on using tickets.