Hi,
GetOverview is by no means limited to handle power of two overview scales.
Take for example a tiff file with "Size is 3000, 1500"
gdaladdo -ro test.tif 4 16 64
Now try gdalinfo
Overviews: 750x375, 188x94, 47x24
-Jukka Rahkonen-
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-
I am writing a driver that reads files that have overviews with linear
scale factors 4, 16, 64 rather than the 2, 4, 8, 16, 32, 64, ...
supported by GDALRasterBand::GetOverview().
Is there a way to let the library know that some overviews are not available,
or code I could use to scale (shrink