<div dir="ltr">When I translate this GeoTIFF to 10% original size, it's very very slow if OVERVIEW_LEVEL=NONE is set. <div><br></div><div>The GeoTIFF has no overviews. <br clear="all"><div><br></div><div>export dsn="/vsicurl/<a href="https://github.com/mdsumner/cog-example/raw/main/cog/sentinel-image.tif">https://github.com/mdsumner/cog-example/raw/main/cog/sentinel-image.tif</a>"<br></div><div>## takes *forever*</div><div>gdal_translate $dsn  out.tif -outsize 219 226 -oo OVERVIEW_LEVEL=NONE<br></div><div><br></div><div>## works fast as expected </div><div><div>gdal_translate $dsn  out.tif -outsize 219 226 <br></div><div><br></div></div><div>I found this in a package that has a global open option setting for overviews for subsampling with RasterIO(). There we could detect that overviews are not present, or even just not set it at all ... (better to use GDALwarp() for general cases IMO). </div><div><br></div><div>But, is there a good reason why setting that open option affects translate for sources with no overviews? </div><div><br></div><div>I'm in master at ebac6b74a429fa6eeeb94edd074b6cb60072a35f </div><div><br></div><div>Cheers, Mike</div><div><br></div><div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div></div></div>