[Gdal-dev] How does one remove Overviews?

Frank Warmerdam warmerdam at pobox.com
Fri Sep 30 15:46:27 EDT 2005


On 9/30/05, Marco Vieira <marco_vieira at uk2.net> wrote:
>
> > However, you can just "gdal_translate" the file to a new file and the
> > new file should be similar to the original but not have the overviews.
>
> I use a little variance of Homme Zwaagstra's gdalsplit.cpp that use
> AddSimpleSource method to copy RasterBand and split file after I created
> overviews with gdaladdo command. How can I know if my overviews are
> preserved?

Marco,

Run gdalinfo on the resulting file, and if it has overviews they will
be reported.  I don't see how they could be preserved though unless
you are doing some deep voodoo.

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