[Gdal-dev] Building overviews in external .ovr file programatticall

Frank Warmerdam fwarmerdam at gmail.com
Mon Jul 25 11:07:15 EDT 2005


On 7/24/05, Tim Sutton <tim at linfiniti.com> wrote:
> Hi
> 
> The docs mention the ability to build .ovr files, but I dont see any way to
> force the behaviour programmatically. Are .ovr files supported on all
> formats? Is there a list of supported overview friendly formats if not?

Tim,

Check out the BuildOverviews() method on the GDALDataset for 
information on how to build overviews programmatically. 

http://www.gdal.org/classGDALDataset.html#a24

I would add that the gdaladdo source is quite short and you can
look at it. 

There is no clear way to figure out what formats support overviews.
Most do, but not all.   

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 Programmer for Rent




More information about the Gdal-dev mailing list