Opened 9 years ago

Closed 9 years ago

#2883 closed defect (fixed)

r.mapcalc documentation bug

Reported by: mankoff Owned by: grass-dev@…
Priority: normal Milestone: 7.0.4
Component: Docs Version: 7.0.2
Keywords: Cc:
CPU: Unspecified Platform: All

Description

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)

Change History (1)

comment:1 by neteler, 9 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.