[gdal-dev] gdaladdo level values

Frank Warmerdam warmerdam at pobox.com
Thu Apr 26 14:01:25 EDT 2012


On Thu, Apr 26, 2012 at 10:42 AM, Richard Nicoll
<richardnicoll at gmail.com> wrote:
> Hi guys
>
> I am new to using GDAL so apologies if this is a silly question!
>
> When using the gdaladdo to create GeoTIFF pyramid layers (overviews),
> can the levels values be decimal values, or do they have to be
> integers?  I have tried using decimals (e.g. 4.3) since this will
> produce an overview at the exact required scale for the viewing app,
> however GDAL appears to be rounding up/down to the closest whole
> number!

Richard,

I can confirm that the BuildOverviews() api only supports
integer overview levels.   I do believe that GDAL can support
reading overviews, even at non-integer overview levels, but not
create them.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer


More information about the gdal-dev mailing list