[GRASSLIST:946] Re: Splicing two surface maps

Hamish hamish_nospam at yahoo.com
Tue Aug 12 20:27:06 EDT 2003


> I need to put two surface raster maps together.  Would I create a new
> location that encompasses the national grid for both maps, copy both
> maps to this location, then use r.patch to splice them together?  Or
> would it be a bit more involved than this?


You got it.

If the maps are already in the same location (ie they're in the same
projection), you don't even have to make a new mapset. Just make the
region big enough to fit the two with g.region.

Remember r.patch takes the first listed map's data over the second if
they overlap.


Hamish




More information about the grass-user mailing list