<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 30/11/2023 à 21:19, Meyer, Jesse R.
(GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] via gdal-dev a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:577930CE-7028-4F7E-A98A-D79B9E8A954E@ndc.nasa.gov">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have gdal 3.8.1 installed via Brew which
includes liblerc and zstd as part of their formulae, so I
assumed I could use the creation options “COMPRESS=LERC_ZSTD”
and “MAX_Z_ERROR=x” as documented on the GTIFF page when
creating a new gtif image. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But when I do GDAL states:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“Warning 6: 'LERC_ZSTD' is an unexpected
value for COMPRESS creation option of type string-select.<o:p></o:p></p>
<p class="MsoNormal">Warning 6: driver GTiff does not support
creation option MAX_Z_ERROR”</p>
</div>
</blockquote>
"gdalinfo --format GTtiff" will report the options available in your
GDAL build<br>
<blockquote type="cite"
cite="mid:577930CE-7028-4F7E-A98A-D79B9E8A954E@ndc.nasa.gov">
<div class="WordSection1">
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So I am not sure if this is an issue with
the driver itself or with the brew formula. Please advise,<o:p></o:p></p>
</div>
</blockquote>
<p>In the brew formula. In the libtiff one more exactly, as this
capability comes from libtiff. Just checking
<a class="moz-txt-link-freetext" href="https://github.com/Homebrew/homebrew-core/blob/b4698a581c0d752241353682fecd627d85ca6dd6/Formula/lib/libtiff.rb">https://github.com/Homebrew/homebrew-core/blob/b4698a581c0d752241353682fecd627d85ca6dd6/Formula/lib/libtiff.rb</a>,
it lacks a liblerc dependency.</p>
<p>You could try from Conda, since its libtiff includes lerc support
(3.8.1 hasn't yet landed there, but it should come soon)<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:577930CE-7028-4F7E-A98A-D79B9E8A954E@ndc.nasa.gov">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Jesse<o:p></o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>