<div dir="auto">Hello everyone,</div><div dir="auto"><br></div><div dir="auto">I’m trying to migrate my code to COG more and more rather than pre-computing some views/data.</div><div dir="auto"><br></div><div dir="auto">I have had some great success with extracting partial full res raster values and it’s great.</div><div dir="auto"><br></div><div dir="auto">One thing I have not been able to do so far though is « reading from the overview »</div><div dir="auto">Say for example I want to render a 512x512 tiles of data but really zoomed out. Let’s say for example that this tile contains my entire 10’000x10’000 pixels geotiff. It’s obviously super inefficient to read from the raw raster rather than reading from one of the pre-computed overviews.</div><div dir="auto">Is there an API (python) to ask for raster data (between 2 points) (like ReadAsArray which is the one I currently use) but passing it the output size so that gdal can figure out which overview it’s better to read from?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Greg</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Greg</div>