[GRASS-user] Issue with r.mapcalc module

Vidura Dantanarayana vidurada at gmail.com
Thu Sep 6 03:47:22 PDT 2018


Hi all,
I need to create a raster file with the
if(fuel_class==4,3,if(fuel_class==8,15)) expression. I used the following
command but it result a parse error.

r.mapcalc --overwrite expression=1hr_moisture =
if(fuel_class==4,3,if(fuel_class==8,15))

What could be the reason for the error?

BR,
Vidura Dantanarayana.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180906/7fdcaa46/attachment.html>


More information about the grass-user mailing list