[osgeo4w-dev] [osgeo4w] #663: Missing LERC codec in gdal 3.2 in "testing" install

OSGeo4W trac_osgeo4w at osgeo.org
Mon Mar 1 13:00:57 PST 2021


#663: Missing LERC codec in gdal 3.2 in "testing" install
--------------------+-------------------------------
Reporter:  houska1  |      Owner:  osgeo4w-dev@…
    Type:  defect   |     Status:  new
Priority:  major    |  Component:  Package
 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.

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/663>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list