Opened 3 years ago

Closed 3 years ago

#596 closed defect (fixed)

LERC compression no longer available

Reported by: jdvarner Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords:
Cc:

Description

In the OSGeo4W64 installation on Windows 7, I am trying to use gdal_translate to create a LERC-compressed MRF raster, but it appears that LERC compression is not enabled. I am using GDAL 2.4.0-5. I was able to do this in previous versions of the OSGeo4W distribution.

This is what happens when I try to create a new LERC-compressed MRF file:
gdal_translate -co "COMPRESS=LERC" -of MRF input.tif output.mrf
Warning 6: 'LERC' is an unexpected value for COMPRESS creation option of type string-select.
ERROR 4: GDAL MRF: Error setting compression
ERROR 10: Can't create output.mrf

And this is what happens when I try to read an existing LERC-compressed MRF:
gdalinfo test.mrf
ERROR 1: GDAL MRF: Compression LERC is unknown
gdalinfo failed - unable to open 'test.mrf'

Attachments (4)

test.aux.xml (838 bytes ) - added by jdvarner 3 years ago.
test.idx (80 bytes ) - added by jdvarner 3 years ago.
test.lrc (174.0 KB ) - added by jdvarner 3 years ago.
test.mrf (765 bytes ) - added by jdvarner 3 years ago.

Download all attachments as: .zip

Change History (5)

by jdvarner, 3 years ago

Attachment: test.aux.xml added

by jdvarner, 3 years ago

Attachment: test.idx added

by jdvarner, 3 years ago

Attachment: test.lrc added

by jdvarner, 3 years ago

Attachment: test.mrf added

comment:1 by jef, 3 years ago

Priority: majorminor
Resolution: fixed
Status: newclosed

enabled in gdal 2.4.0-6

Note: See TracTickets for help on using tickets.