Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LERC compression (libtiff >= 4.3 and GDAL >= 3.3) #135

Closed
avalentino opened this issue Jun 23, 2021 · 10 comments · Fixed by #139
Closed

Support for LERC compression (libtiff >= 4.3 and GDAL >= 3.3) #135

avalentino opened this issue Jun 23, 2021 · 10 comments · Fixed by #139
Assignees
Labels
enhancement New feature or request qgis-deps

Comments

@avalentino
Copy link

I'm interested in using GeoTIFF data that have been generated using the LERC compression.
It seems that the lates QGIS version 3.20.0 (binary installer for Mac OSX) does not support this feature.

AFAIK the LERC compression requires libtiff >= 4.3 and GDAL >= 3.3, so I assume that it is not a QGIS limitation but just a matter of packaging.

What are plans to update libtiff/GDAL and support LERC compressed GeoTIFF data?

@PeterPetrik PeterPetrik added enhancement New feature or request qgis-deps labels Jun 24, 2021
@PeterPetrik PeterPetrik changed the title Support for LERC compression Support for LERC compression (libtiff >= 4.3 and GDAL >= 3.3) Jun 24, 2021
@PeterPetrik
Copy link
Contributor

Hi, it would require the new qgis-deps package with the library updates. We will most likely update the stuff for QGIS 3.22, but if you require this sooner for your project drop me a mail on Peter.petrik@lutraconsulting.co.uk

@andreasneumann
Copy link
Member

I agree that LERC is a quite useful GTIFF compression scheme. I also plan to use it more in the future. It would be great if 3.22 could ship with the newer gdal and libtiff that supports LERC.

Another quite important dependency would be GEOS 3.9 or higher, which brings a lot of perfomance and stability optimizations.

@PeterPetrik
Copy link
Contributor

geos is already at 3.9.1

@avalentino
Copy link
Author

Hi, it would require the new qgis-deps package with the library updates. We will most likely update the stuff for QGIS 3.22

Thanks @PeterPetrik this is a very good news. According to the QGIS Roadmap 3.22 should be in October 2021 (cc @ClementAlbinet).

I assume that for QGIS 3.22 the same updates will made also for other binary installers (windows, linux, etc).
Is it correct?

@andreasneumann
Copy link
Member

I assume that for QGIS 3.22 the same updates will made also for other binary installers (windows, linux, etc).
Is it correct?

The different OS are not in sync regarding the dependencies. As long as we don't ship snap versions, we cannot control the availiability of libraries in the different Linux distributions.

Also, the OSGeo4W and standalone/MSI windows installers follow their own separate paths.

From time to time QGIS is definining "minimum" required library versions though, albeit very conservative ... (mostly because of old Linux distributions).

@hobu
Copy link

hobu commented Sep 2, 2021

Chiming in to 👍 LERC support in builds and let people know that they can get LERC support if they use @conda-forge -based QGIS builds right now if they need it.

@avalentino
Copy link
Author

Thanks @hobu, I was not aware of the @conda-forge -based QGIS builds.

@PeterPetrik
Copy link
Contributor

fixed in 5e44673

@PeterPetrik
Copy link
Contributor

fixed on nightlies, https://qgis.org/downloads/macos/nightly/qgis_nightly_master_20210916_124111.dmg if anyone would like to test?

@hobu
Copy link

hobu commented Sep 17, 2021

Confirmed to be working great with https://hobu-lidar.s3.amazonaws.com/iowa/IA_SouthCentral_1_2020-dsm-1m-LERC.tif 👍 🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request qgis-deps
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants