<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>With GDAL 3.3, you could add -oo OVERVIEW_LEVEL=NONE. See
<a class="moz-txt-link-freetext" href="https://gdal.org/api/raster_c_api.html?highlight=overview_level#_CPPv410GDALOpenExPKcjPPCKcPPCKcPPCKc">https://gdal.org/api/raster_c_api.html?highlight=overview_level#_CPPv410GDALOpenExPKcjPPCKcPPCKcPPCKc</a><br>
</p>
<div class="moz-cite-prefix">Le 28/05/2021 à 15:56, Jon Morris a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:LO2P123MB48614F93ED8C3E712A25C1F882229@LO2P123MB4861.GBRP123.PROD.OUTLOOK.COM">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<div class="WordSection1">
<p class="MsoNormal"><span>Hello all,</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>One of our users reported a
difference in outputs after we upgraded from GDAL 2.2 to
3.2. Our tool is using gdal_translate to resample a raster
from 5m to 10m and the outputs are very different. </span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>I'm ok with things changing between
major versions, but when investigating, I found that the
outputs also change depending on whether the input file has
overviews. I was aware of the issue with gdalwarp where
overviews are used as a shortcut (<a
href="http://erouault.blogspot.com/2014/10/warping-overviews-and-warped-overviews.html"
moz-do-not-send="true">http://erouault.blogspot.com/2014/10/warping-overviews-and-warped-overviews.html</a>),
but haven't been able to find anything similar in the docs
or the code when it comes to gdal_translate.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Should overviews make a difference?
Is there any way to disable this behaviour, so the
resampling is always done using the input raster and not the
overviews?
</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Thanks,</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Jon</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><b><span>Jon Morris</span></b></p>
<p class="MsoNormal"><b><span>Software Developer</span></b></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"> </p>
</div>
<div dir="ltr">
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>e: <span></span></td>
<td><a
href="mailto:Jon.Morris@jbarisk.com"
target="_blank" id="LPlnk689713"
moz-do-not-send="true"><strong>Jon.Morris@jbarisk.com</strong></a></td>
</tr>
<tr>
<td>t: </td>
<td><a href="tel:+44%20(0)1756%20799919"
target="_blank" id="LPlnk689713"
moz-do-not-send="true"><strong>+44 (0)1756 799919</strong></a></td>
</tr>
<tr>
<td><br>
</td>
<td><br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td><a href="http://www.jbarisk.com/" target="_blank"
id="LPlnk689713" title="Click to visit our website"
moz-do-not-send="true"><strong>www.jbarisk.com</strong></a></td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td rowspan="3">
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td><img
src="cid:part5.D74B63D2.8365B2D3@spatialys.com"
alt="" class=""
height="52"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td><a
href="https://www.facebook.com/TheFloodPeople"
target="_blank" id="LPlnk689713" moz-do-not-send="true"><img
src="cid:part6.61736378.425B39DC@spatialys.com"
title="Facebook" alt="Facebook" class="" width="34"></a></td>
</tr>
</tbody>
</table>
</td>
<td>
<table>
<tbody>
<tr>
<td><a
href="https://www.linkedin.com/company/jba-risk-management/"
target="_blank" id="LPlnk689713" moz-do-not-send="true"><img
src="cid:part8.5E723DE1.6A85668E@spatialys.com"
title="LinkedIn" alt="LinkedIn" class="" width="34"></a></td>
</tr>
</tbody>
</table>
</td>
<td>
<table>
<tbody>
<tr>
<td><a
href="https://twitter.com/JBARisk"
target="_blank" id="LPlnk689713" moz-do-not-send="true"><img
src="cid:part10.8A17D97F.F490000F@spatialys.com"
title="Twitter" alt="Twitter" class="" width="34"></a></td>
</tr>
</tbody>
</table>
</td>
<td>
<table>
<tbody>
<tr>
<td><a
href="https://www.youtube.com/channel/UC0iatom2jYbW96voW0rlpCw"
target="_blank" id="LPlnk689713" moz-do-not-send="true"><img
src="cid:part12.A2D43EF1.DB49ECA9@spatialys.com"
title="YouTube" alt="YouTube" class="" width="34"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td><span>All JBA Risk Management's email
messages contain confidential
information and are intended only for
the individual(s) named. If you are
not the named addressee you should not
disseminate, distribute or copy this
e-mail.</span><br>
<span>Please notify the sender
immediately by email if you have
received this email by mistake and
delete this email from your system.</span>
<br>
<span>JBA Risk Management Limited is
registered in England, company number
07732946, 1 Broughton Park, Old Lane
North, Broughton, Skipton, North
Yorkshire, BD23 3FD, England</span><span>.</span><br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></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>