[GRASS-user] GRASS7 r.mapcalc not working

César Augusto Ramírez Franco caesarivs at gmail.com
Sun Mar 16 14:23:27 PDT 2014


I was using the shell, but I solved it by making mask1 == 1 && mask2 == 1

​Thank you​


2014-03-15 9:32 GMT-05:00 Glynn Clements <glynn at gclements.plus.com>:

>
> 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>
>



-- 
*César Augusto Ramírez Franco*
Laboratorio de Sistemas Complejos Naturales
Escuela de Geociencias
Facultad de Ciencias
Universidad Nacional de Colombia - Sede Medellín
Teléfono: (57-4) 430 9369 - 301 389 5607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140316/553a2e7c/attachment.html>


More information about the grass-user mailing list