[GRASS-user] g.copy several map layers into one layer without overwriting .....

Glynn Clements glynn at gclements.plus.com
Mon Dec 10 04:17:23 PST 2012


Andranik Hayrapetyan wrote:

> > r.mapcalc?
> 
> 
> I don't know how to overlay rasters with r.mapcalc. can you, please be a
> bit detailed?

	r.mapcalc 'outmap = if(isnull(map1),map2,map1)'

But this is just as inefficient as r.patch.

There isn't currently an efficient way to join "slices" either using
commands or the public C API.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list