<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Thomas,<br>
</p>
<div class="moz-cite-prefix">Le 19/03/2024 à 08:26, thomas bonfort
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAOM3y2gQOLi1=+eEaN4qYU_7Zve_rbAdDKMOBC8fkB9WRV99QA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">I have a side-question concerning the
update-in-place behavior of the gtiff driver in this case: given
that a compressed strile will nearly always be smaller after
this update (due to better compression ratios on the uniform
area), will libtiff overwrite the previous strile in place also,
or will it be appended to the existing file (resulting in a
larger final file size)?</div>
</blockquote>
<p>If the updated tile/strip occupies a smaller size than its
previous version, it will overwrite in place. Note however that it
will not wipe out the bytes that are no longer used, which might
potentially be an issue in the context of censoring. Thus I would
recommend doing a final gdal_translate to get a "clean" version
before distributing it.</p>
Even<br>
<p><span style="white-space: pre-wrap">
</span></p>
<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>