[Ubuntu] ZSTD support in UbuntuGIS?

Sebastiaan Couwenberg sebastic at xs4all.nl
Fri Apr 10 00:55:07 PDT 2020


On 4/10/20 6:31 AM, Sebastiaan Couwenberg wrote:
> On 4/10/20 12:36 AM, Richard Sharp wrote:
>> I am using the 3.0.4 version of GDAL installed from the
>> https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable PPA in a
>> Docker container and see that the gdal installation does not include ZSTD
>> support.
> 
> That's not what the build logs says:
> 
>   ZSTD support:              yes
> 
> https://launchpadlibrarian.net/468243097/buildlog_ubuntu-bionic-amd64.gdal_3.0.4+dfsg-1~bionic0_BUILDING.txt.gz
> 
>> Is it possible for me to somehow enable ZSTD support in a >=3.0.4
>> version of GDAL? I worry this is a naive question but I am not familiar
>> with how GDAL supports various codecs.
> 
> How did you determine that it lacked the support?

It seems that GDAL only uses ZSTD for TIFF, since gdal uses the tiff
package instead of the embedded copy, ZSTD needs to be enabled in tiff.

Zstandard support was enabled in tiff (4.0.9+git181026-1), this change
is present in Debian buster, but not in Ubuntu xenial which has tiff
(4.0.9-5) which is two revision before ZSTD support was enabled.

Ubuntu focal is scheduled for release on the 23rd, upgrading to that
seems like a good option to have a more recent GIS stack.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list