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

qgis-dev-0.9.0 #139

Closed PeterPetrik closed 2 years ago

PeterPetrik commented 2 years ago

fix #138 fix #135 fix #89

also updated proj to 8.x and bunch of other packages

avalentino commented 2 years ago

Thanks a lot @PeterPetrik for fixing this issue.

Sorry for the silly question but I am still not able to find the the recipe for liblerc in [2] and [2]. Is it indirectly included in some of the other packages?

[1] https://github.com/qgis/QGIS-Mac-Packager/tree/master/qgis_deps/recipes [2] https://github.com/qgis/QGIS-Mac-Packager/tree/master/qgis_bundle/recipes

PeterPetrik commented 2 years ago

Not a silly question, I forgot to add it ...!

avalentino commented 2 years ago

@PeterPetrik do you think that there is still a chacne to have LERC in the next QGIS release? Should we re-open #135?

PeterPetrik commented 2 years ago

I am on it

PeterPetrik commented 2 years ago

do you have some open-dataset available for me to test it? @avalentino

avalentino commented 2 years ago

@PeterPetrik no, but I can provide a simple script to convert an existing TIFF product (maybe one that you are already using for your tests) into a LERC encoded COG. I could also generate it myself and share via "We Transfer" or services like that. Just let me know what open-dataset you want to use as base for the conversion.

PeterPetrik commented 2 years ago

if you can send me any, ideally smaller-better. thanks!

avalentino commented 2 years ago

OK, will do in the afternoon

avalentino commented 2 years ago

Original product: https://github.com/OSGeo/gdal/blob/master/autotest/gcore/data/float32.tif

To generate the LERC compressed COG (float32-lerc.tif.zip) I have used:

$ gdal_translate -OF COG -co COMPRESS=LERC_ZSTD -co MAX_Z_ERROR=1 float32.tif float32-lerc.tif