<div dir="ltr"><div>See mercantile</div><div><a href="https://mercantile.readthedocs.io/en/latest/">https://mercantile.readthedocs.io/en/latest/</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Feb 2021 at 06:54, MRRAJESH <<a href="mailto:rajeshreddy82@gmail.com">rajeshreddy82@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have map tiles @ different zoom levels 8 to 22 levels. I have a Bounding<br>
box also. How can I calculate the minimum number tile (min tile column, min<br>
tile row) and maximum number tile (max tile column, max tile row) for a<br>
given bounding box and zoom level?<br>
<br>
Any sample code?<br>
<br>
For Example: <br>
Bounding box<br>
(-9943845.8836751487,5321240.1611008309,-9943540.1355620064,5321545.90921397)<br>
Zoom level: 18<br>
<br>
*Expected output at 18th level for a given BBOX:*<br>
<br>
Min:Max X= 96262 : 96282 - #of Tiles\Row: XX<br>
Min:Max Y= 66027 : 66047 - #of Tiles\Col: XX<br>
<br>
Regards,<br>
Rajesh<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>