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

GRASS GIS trac at osgeo.org
Thu Apr 14 01:02:13 PDT 2016


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

Comment (by marisn):

 Such notice is already present in documentation (introduced in r66548 on
 20 Oct 2015). See: https://grass.osgeo.org/grass71/manuals/r.mapcalc.html

 {{{
 ... expression is any legal arithmetic expression involving existing
 raster map layers (except result itself) ...
 }}}

 See also:
 #2770;
 https://lists.osgeo.org/pipermail/grass-dev/2011-July/054983.html

 Either this bug should be closed or it should be turned into a wish - to
 not allow same LHS variable to appear on RHS. As I'm not so much into
 mapcalc language details, I can not see it as a problem, but Glynn will
 shed more light on such option.

 Mankoff, if you consider current documentation to be inadequate, provide a
 patch with better wording.

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



More information about the grass-dev mailing list