[GRASS-user] r.mapcalc --> 3 maps
Gabriele N.
gis.gn at libero.it
Sun Jan 16 11:35:51 EST 2011
Ciao grass users.
I have three maps A, B, C.
I would use r.mapcalc to combine them according to this logic:
Put the values of A and if A is null you put the values of B and if B is
null you put the values of C.
I have tried in various ways without success. .. now I'm trying with a
double IF...
r.mapcalc "output = if((isnull(a)),b,if(isnull(b)),c)" .....but in this
case I do not put the values of A
Help / advice?
Thanks
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-mapcalc-3-maps-tp5929440p5929440.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list