[gdal-dev] Finding the Map-Tiles(x, y) in a given Bounding box and zoom level

Travis Kirstine traviskirstine at gmail.com
Thu Mar 11 05:44:27 PST 2021


You could get the "bbox" list from mercantile.tiles and then get the bounds
for each tile using mercantile.bounds and then check the intersection with
your irregular polygon, this would be fairly slow depending on the bounds /
zoom.
I'm not aware of any other libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210311/cc3fef16/attachment.html>


More information about the gdal-dev mailing list