<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Deyan,</p>
    <p>you generally don't need to use that option. The driver should
      automatically select the right overview level when you use the
      dataset or band RasterIO() methods, according to the window of
      interest and the size of the buffer you specify.</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 29/12/2021 à 19:47, Deyan Vasilev a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPULynUF1E+sskmmBUCTCOfa7S-Rc4uXwq4O5++sjLLuCm4k7Q@mail.gmail.com">
      <div dir="ltr">
        <div>Hello,</div>
        <div>I am trying to handle map zooming in a GDAL-based MBTiles
          windows app. The only way I have found to control the raster's
          zoom level is through GDALOpenEx's open options.</div>
        <div><br>
        </div>
        <div>Changing the zoom-level app-side would require closing the
          MBTiles db and reopening it, passing the new zoom level as an
          open option. I made this to work but it seems to me
          somehow clumsy as there is surely a significant overhead for
          closing and reopening the db.<br>
        </div>
        <div><br>
        </div>
        <div>Can you please share if there is a way to request specific
          zoom-levels without doing the closing/reopening stuff?<br>
        </div>
      </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>