>r.mapcalc expression=if(case1,if(case2,Val2True,Val2False),Val1False)) > >This expression will fail, note that the lack of quote is intentional, as it is a requirement to run simpler >r.mapcalc statements in WinGRASS.
when, in winGRASS, I copy from r.mapcalc: r.mapcalc expression="rbstreams500 = if( bstreams500@yann == 2, 1, 0)" the term is quoted. when I do in the wxGUI console r.mapcalc expression=rbstreams500unquoted = if( bstreams500@yann == 2, 1, 0) I get an "unable to parse..." error. how do you conclude that "it is a requirement to run simpler r.mapcalc statements in winGRASS"? ----- best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev
