[GRASS-dev] [GRASS GIS] #3259: r.mapcalc graphical versio does not work with eval

GRASS GIS trac at osgeo.org
Thu Jan 12 23:43:50 PST 2017


#3259: r.mapcalc graphical versio does not work with eval
-------------------------+-------------------------
 Reporter:  marisn       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.2.1
Component:  wxGUI        |    Version:  svn-trunk
 Keywords:  r.mapcalc    |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 When using r.mapcalc wxgui version, it is not possible to utilize eval
 functionality.
 A valid mapcalc expression working from cli and failing from gui:
 {{{
 eval(a=1)
 out=a
 }}}

 The reason is actual mapcalc expression executed:
 {{{
 r.mapcalc --overwrite expression=out = eval(a=1) out=a
 syntax error
 Parse error
 ERROR: parse error
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3259>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list