#669: let users save/load mapcalc expressions
--------------------------+-------------------------------------------------
Reporter: timmie | Owner: [email protected]
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: map calculator
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Comment (by glynn):
Replying to [comment:6 1gray]:
> This is already possible when using the command-line interface.
Consider, e. g.:
{{{
bash$ (r=baz ; a=foo ; b=bar ; r.mapcalc "\"$r\" = \"$a\" + \"$b\"")
}}}
Note that r.mapcalc allows map names to be quoted using either single or
double quotes, so the above can be written as:
{{{
bash$ (r=baz ; a=foo ; b=bar ; r.mapcalc "'$r' = '$a' + '$b'")
}}}
This is probably clearer than using backslash and double-quote.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/669#comment:7>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev