Re: [gdal-dev] Reading various zoom-levels from a MBTiles db

2021-12-29 Thread Deyan Vasilev
Hello Even, My map contains no overviews but a seamless collection of PNG tiles with zoom levels ranging from 13 to 17 (which I suppose is similar to overviews). Each tile is 256 x 256 pixels with the pixel being RGB888, a pretty much standard arrangement. When reading I call each band's RasterIO

Re: [gdal-dev] Reading various zoom-levels from a MBTiles db

2021-12-29 Thread Even Rouault
Deyan, 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. Even Le 29/12/2021 à 19:47, Deyan Vasilev a éc

[gdal-dev] Reading various zoom-levels from a MBTiles db

2021-12-29 Thread Deyan Vasilev
Hello, 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. Changing the zoom-level app-side would require closing the MBTiles db and reopening it, passing the new zoom level as an