[GRASSLIST:10632] Re: Merging/combining/joining rasters

Hamish hamish_nospam at yahoo.com
Tue Feb 28 16:29:13 EST 2006


> > Hello, I can't find anything on how to create one raster layer out
> > of  two or more. I have a number of adjacent DEM files that I'd like
> > to  combine into one layer for analysis. I can't even figure out
> > whether the  verb is merge, combine, join, or something else
> > entirely!
..
> 
> "patch"
> 
> That is, you use "r.patch" to do this.  Set your region to one that is
> large enough to contain all the adjacent DEMs and use r.patch to
> create one stitched raster.

Hint:  To extend the region to cover both maps,

g.region rast=map1,map2


This works for more than two maps as well...


Hamish




More information about the grass-user mailing list