[Gdal-dev] Merging multiple DEMs

Frank Warmerdam warmerdam at pobox.com
Thu Jul 29 15:41:14 EDT 2004


StefanReisser at t-online.de wrote:
> Thanks for your help, Frank!
> 
> There's one more question left:
> How can I merge multiple DEMs using GDAL? I saw that the Python Script
> can do it, however, is there some code in C++ that does that?
> Or does anyone have some suggestions on how to do that efficiently?
> 
> Again, thanks for the efforts!

Stefan,

Something like "gdal_merge.py -o merged.tif -n 32767 *.dem" might do the
trick.  Programmatically it can be accomplished using the warp api.

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