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

GRASS GIS trac at osgeo.org
Fri Jan 29 08:33:25 PST 2016


#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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list