[GRASS-dev] [GRASS GIS] #2986: r.mapcalc with same variable on LHS and RHS

GRASS GIS trac at osgeo.org
Thu Apr 21 06:04:29 PDT 2016


#2986: r.mapcalc with same variable on LHS and RHS
--------------------------+-------------------------
  Reporter:  mankoff      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  major        |  Milestone:  7.0.4
 Component:  Docs         |    Version:  7.0.3
Resolution:  fixed        |   Keywords:  r.mapcalc
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by glynn):

 Replying to [comment:6 glynn]:
 > Replying to [comment:5 mankoff]:
 > > Just to be clear, {{{LHS = RHS}}} **does** work.

 Something else which doesn't quite work as expected is that once a name
 appears on the LHS of an assignment, it's marked as being a variable
 rather than a map. Which means that you can't use any modifiers on it
 (whether the neighbourhood modifier, the category modifier or any colour
 channel modifiers), as those can only be used on maps, not variables.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2986#comment:7>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list