[GRASSLIST:4472] if-then-else in GRASS

Alexander Fritz Alex_Fritz at gmx.net
Thu Sep 12 04:37:28 EDT 2002


Hello everybody,

I'm trying to do a if-then-else instruction in GRASS. Does anybody know if
there is something like that possible in GRASS. I want do that

if rastermap1>rastermap2 then
else

I know that I can do similar instructions with r.mapcalc. But r.mapcalc
produces always a new map. Is there a possibility to get the information
when the if command in r.mapcalc is true or false?

Greetings Alex



More information about the grass-user mailing list