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

Use internal libtiff #4537

Closed
wants to merge 1 commit into from
Closed

Conversation

evetion
Copy link
Contributor

@evetion evetion commented Mar 3, 2022

So newer compression features work out of the box, such as LERC in COG. See https://gdal.org/drivers/raster/cog.html and similar PR at OSGeo/homebrew-osgeo4mac#1087.

I'm unsure/unaware about hard differences between the internal and external libtiff library or other drawbacks. I guess it should just work and gives us more features. Looking at https://gdal.org/drivers/raster/gtiff.html#creation-options, newer compression are first introduced in the internal libtiff and only later in the external one (or not yet, such as JXL).

Linking to GDAL.jl driver support issue JuliaGeo/GDAL.jl#65

So newer features work out of the box, such as `LERC` in `COG`. See https://gdal.org/drivers/raster/cog.html and similar PR at OSGeo/homebrew-osgeo4mac#1087
@evetion
Copy link
Contributor Author

evetion commented Mar 3, 2022

Ping @visr

@visr
Copy link
Contributor

visr commented Mar 3, 2022

The homebrew discussion is a few years old. It does seem that since then features have been upstreamed sooner to https://gitlab.com/libtiff/libtiff, which has seen more frequent releases. So perhaps part of the COG docs are outdated already. If I search in the libtiff repo for LERC or JXL, it does seem like there is support.

GDAL_jll depends on PROJ_jll which depends on Libtiff_jll, so this does not avoid the dependency.

Perhaps it would be good to first ask on the GDAL mailing list if there are still many advantages to internal libtiff?

@evetion
Copy link
Contributor Author

evetion commented Mar 3, 2022

Ok, so the other route would be to build LERC on Yggdrasil and link it to libtiff.

@evetion
Copy link
Contributor Author

evetion commented Mar 3, 2022

Closed in favor of #4538.

@evetion evetion closed this Mar 3, 2022
@evetion evetion deleted the patch-4 branch March 3, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants