Missing LERC codec in gdal 3.2 in "testing" install
|Reported by:||houska1||Owned by:|
|Version:||Keywords:||gdal libtiff lerc|
Attempting to install QGIS rel + dependencies with new "testing" OSGeo4W. Various of my tif files are reported unavailable by QGIS. Digging deeper, seems gdal cannot read them.
From terminal, running gdalinfo (3.2) on those files fails with "CODEC not found". In old OSGeo4W (with gdal 3.1), they open fine, and gdalinfo returns:
Image Structure Metadata: COMPRESSION=LERC_ZSTD INTERLEAVE=BAND LERC_VERSION=2.4
I suspect the issue might be that in the old build, gdal was built with internal libtiff and perhaps in the new one, it wasn't. I'm not sure how to check that, but it is supported by running
gdalinfo --format GTiff which does not list LERC compression options in the new 3.2 but does in the old 3.1.
Setting priority as major even though it is perhaps an infrequent use case, due to the effect of making previously readable QGIS projects fail to open in an apparently identical new "testing" install.