<div dir="ltr"><div>Hi folks</div><div><br></div><div>I have a VRT which is a mosaic of several thousand s3-stored COGs. Doing any kind of low-res downsampling from this VRT causes very slow performance and high memory usage because it causes requests to all the individual source tiles.</div><div><br></div><div>I'd like to add external overviews to the VRT via a `.vrt.ovr` file – and it appears I can do this with gdaladdo.</div><div><br></div><div>However, a naive call to gdaladdo seems to ignore the overviews on all the source files, rendering the overviews by downloading every pixel from the full-size sources. This is a nonstarter in this environment where the full set of source tiles is enormous and remote.<br></div><div><br></div><div>So, two questions:<br></div><div>1. Is there a way to force gdaladdo to use the COG overviews from the source VRT's source tiles?</div><div>2. If not, are there any other ways to generate a `.vrt.ovr` file which would use the source overviews? I have tried using gdal_translate to produce a .tif of the right pixel size and then renaming it to `.vrt.ovr`, but it doesn't seem to be used by GDAL – so I guess there's more to `ovr` files than just TIF files with the right name!</div><div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Regards,</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Craig</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Platform Engineer<br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Koordinates</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><a href="tel:+64%2021%20256%209488" style="color:rgb(17,85,204)" target="_blank">+64 21 256 9488</a> / <a href="http://koordinates.com/" style="color:rgb(17,85,204)" target="_blank">koordinates.com</a> / <a href="https://twitter.com/koordinates" style="color:rgb(17,85,204)" target="_blank">@koordinates</a></div></div></div></div></div>