[gdal-dev] Create overview tiff from a set of tiff files

Even Rouault even.rouault at mines-paris.org
Tue Nov 13 13:38:09 PST 2012


Selon Billy Newman <newmanw10 at gmail.com>:

> I have a set f tiff files at different zoom levels/resolutions
>
> 0.tif (2048x1024)
> 1.tif (4096x2048)
> 2.tif (8192x4096)
>
> I would like to create one tif that is 8192x4096 but have 2 overviews
> that are the 0.tif and 1.tif.  Is there a GDAL command that I can give
> multiple tiffs to create one tiff with overviews?

Rename 1.tif as 2.tif.ovr, and 0.tif as 2.tif.ovr.ovr

then

gdal_translate 2.tif 2_with_ovr.tif -co COPY_SRC_OVERVIEWS=YES


More information about the gdal-dev mailing list