[Gdal-dev] Mosaicing with gdalwarp

Frank Warmerdam warmerdam at pobox.com
Wed Mar 21 21:10:26 EDT 2007


Stephen Woodbridge wrote:
> Quick question. I have been generating tiles with a fixed global 
> gridding from CCM files. Obviously along the seams between two adjacent 
> CCM files I will generate tiles that have the same spatial extents and 
> projection.
> 
> What is the best way to mosaic these tiles?
> 
> gdalwarp --config GDAL_ONE_BIG_READ on infile.tif outfile.tif
> 
> I know that infile.tif and outfile.tif have the same coverage based on 
> the file names. All I want to do is mosaic the infile.tif onto 
> outfile.tif which exists. Both of these files will have no-data areas 
> and data areas.

Steve,

This should work for what you want.  You may need to use -srcnodata and/or
-dstnodata if these values aren't set properly in the file metadata.

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list