[GRASS-user] GRASS7 r.mapcalc not working

Glynn Clements glynn at gclements.plus.com
Sat Mar 15 07:32:59 PDT 2014


César Augusto Ramírez Franco wrote:

> I'm getting:
> 
> syntax error, unexpected ',', expecting $end
> Parse error
> ERROR: parse error
> 
> Everytime I try to do an "if(a,b,c)" statement like:
> 
> "mapmask = if(mask1 && mask2, mask2, null())"

FWIW, I have no problem running that exact command (having first
generated random raster maps named "mask1" and "mask2").

Is this via wxGUI or the shell?

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


More information about the grass-user mailing list