[gdal-dev] gdal_translate drops overviews

Even Rouault even.rouault at mines-paris.org
Thu Jan 13 16:13:53 EST 2011


Le jeudi 13 janvier 2011 22:03:57, Jean-Claude REPETTO a écrit :
> Hello,
> I would like to translate an OZI file to TIFF. The input file contains
> several overviews. But the output file doesn't contain any overview.
> 
> Is there a solution to keep the overviews ?

Yes, you can use the COPY_SRC_OVERVIEWS creation option of the GTiff driver : 
http://gdal.org/frmt_gtiff.html. However, be aware that if you use any option 
of gdal_translate that needs an intermediate VRT (basically almost any option 
except the driver creation options), the source overviews will not be seen by 
the GTiff driver.

> 
> Jean-Claude
> 
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list