#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
 Keywords:  r.mapcalc    |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 It appears the following is valid syntax:

 {{{
 r.mapcalc "x = x + 1" --o
 }}}

 But a GRASS developer has said ([http://gis.stackexchange.com/a/109763/609
 source]),

 {{{
 Note that you shouldn't use r.mapcalc like this (read from and write in
 the same map):

 r.mapcalc "old = old + 10" --overwrite
 }}}

 If this is the case, this seems like it **important** and should be
 included in the documentation.

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to