<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Hi, list</p>
<p style="margin:0px 0px 1.2em!important">I’m using gdal_translate and gdaladdo to generate MBTiles following the documentation <a href="http://www.gdal.org/frmt_mbtiles.html">here</a>. </p>
<p style="margin:0px 0px 1.2em!important">By reading previous <a href="https://lists.osgeo.org/pipermail/gdal-dev/2016-April/044130.html">threads</a>, I’ve understood that gdal_translate determines the baseview zoom level based on the original image resolution - if I’d like a higher level of zoom, I need to upsample. That enabled the control of the <em>maximum</em> zoom level.</p>
<p style="margin:0px 0px 1.2em!important">However, I when using <a href="http://www.gdal.org/gdaladdo.html">gdaladdo</a> and inserting the levels option, I was not able to go past a certain ‘out zoom level’. Also in <a href="http://www.gdal.org/frmt_mbtiles.html">here</a>, it is explicitly mentioned that</p>
<blockquote style="margin:1.2em 0px;border-left:4px solid rgb(221,221,221);padding:0px 1em;color:rgb(119,119,119);quotes:none">
<p style="margin:0px 0px 1.2em!important">If more overview levels are specified than available, the extra ones are silently ignored.</p>
</blockquote>
<p style="margin:0px 0px 1.2em!important"><strong>My question is</strong>: how can I (directly or indirectly) specify the <em>minimum</em> zoom level for a given image in MBTiles generation using gdal_translate?</p>
<div title="MDH:SGksIGxpc3Q8ZGl2Pjxicj48L2Rpdj48ZGl2PkknbSB1c2luZyBnZGFsX3RyYW5zbGF0ZSBhbmQg
Z2RhbGFkZG8gdG8gZ2VuZXJhdGUgTUJUaWxlcyBmb2xsb3dpbmcgdGhlIGRvY3VtZW50YXRpb24g
W2hlcmVdKGh0dHA6Ly93d3cuZ2RhbC5vcmcvZnJtdF9tYnRpbGVzLmh0bWwpLiZuYnNwOzwvZGl2
PjxkaXY+PGJyPjwvZGl2PjxkaXY+QnkgcmVhZGluZyBwcmV2aW91cyBbdGhyZWFkc10oaHR0cHM6
Ly9saXN0cy5vc2dlby5vcmcvcGlwZXJtYWlsL2dkYWwtZGV2LzIwMTYtQXByaWwvMDQ0MTMwLmh0
bWwpLCB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