geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
860 stars 181 forks source link

Test Setup fails when generating Lerc Tiffs #329

Open anton-seaice opened 1 year ago

anton-seaice commented 1 year ago

When I run test/data/setup_data.sh, I get the following error:

Warning 6: 'LERC' is an unexpected value for COMPRESS creation option of type string-select. Warning 6: driver GTiff does not support creation option MAX_Z_ERROR ERROR 1: Cannot create TIFF file due to missing codec for LERC.

And the set-up script fails.

Its not clear to me if support for LERC has been removed in newer versions of GDAL? Or maybe there is a missing dependency?

@DanielJDufour - hoping you might have a suggestion?

zakjan commented 1 year ago

What's your GDAL distribution? Possibly it's because LERC support is still missing in Homebrew GDAL, see https://github.com/Homebrew/homebrew-core/pull/121300