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

2021-02-22 Thread Travis Kirstine
See mercantile https://mercantile.readthedocs.io/en/latest/ On Mon, 22 Feb 2021 at 06:54, MRRAJESH wrote: > Hi, > > I have map tiles @ different zoom levels 8 to 22 levels. I have a Bounding > box also. How can I calculate the minimum number tile (min tile column, min > tile row) and maximum num

[gdal-dev] how to get raster drivers supporting create and subregion write

2021-02-22 Thread Calogero Mauceri
Hi, I'd like to know which is the best way to know programmatically if a GDAL driver supports the GDAL Create() and then the writing through RasterIO() on a subregion The way I'm trying to figure it now is ... h = GDALGetDriver(idx); char** papszMD = GDALGetMetadata(h, nullptr); if ( CPLFetchBoo

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

2021-02-22 Thread MRRAJESH
Hi, I have map tiles @ different zoom levels 8 to 22 levels. I have a Bounding box also. How can I calculate the minimum number tile (min tile column, min tile row) and maximum number tile (max tile column, max tile row) for a given bounding box and zoom level? Any sample code? For Example: Bou