qgis / QGIS-Mac-Packager

Scripts for Official QGIS MacOS Packages
https://www.qgis.org
GNU General Public License v2.0
54 stars 21 forks source link

Issue Opening GOC with LERC Compression #164

Open jlaura opened 1 year ago

jlaura commented 1 year ago

What is the bug or the crash?

Unable to load a LERC compressed GeoTIFF (COG) in QGIS 3.22.16 LTR.

Steps to reproduce the issue

Add the following (publicly available) COG to QGIS either by downloading it locally or by streaming via HTTP. https://asc-mars.s3.us-west-2.amazonaws.com/hirise_test/ESP_025440_1390_RED.tif

This then complains with a missing TIFF codex error. Using DEFLATE or LZW and the data load. LERC was added to GDAL in version 2.4, so this is an unexpected (to me) error.

Versions

3.22.16 LTR, OS X.

Supported QGIS version

New profile

Additional context

No response

rouault commented 1 year ago

Transferred as a Mac packaging issue. Either the GDAL build used by QGIS should use GDAL's internal libtiff + internal or external libLERC, or GDAL should use a libtiff built against libLERC