[GRASS-dev] [GRASS GIS] #2883: r.mapcalc documentation bug

#2883: r.mapcalc documentation bug
---------------------+-------------------------
Reporter: mankoff | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Docs | Version: 7.0.2
Keywords: | CPU: Unspecified
Platform: All |
---------------------+-------------------------
{{{
To change all values below 5 to NULL:
newmap = if(map<5, null(), 5)
}}}

Also appears to change all values >5 to 5. I think the correct syntax is:

{{{
newmap = if(map<5, null(), map)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2883&gt;
GRASS GIS <https://grass.osgeo.org>

#2883: r.mapcalc documentation bug
--------------------------+-------------------------
  Reporter: mankoff | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.4
Component: Docs | Version: 7.0.2
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

Good catch, fixed in r67788 (G70), r67789 (G71), 67790 (G64).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2883#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>