On 28/05/13 21:33, Glynn Clements wrote:
But for this specific case, it's probably simpler to just generate an
integer version of the slope map (if it isn't already) and use
r.reclass, e.g.
r.reclass input=slope output=slope.reclass rules=-<<EOF
0 thru 2 = 1
3 thru 5 = 2
6 thru 10 = 3
11 thru 15 = 4
16 thru 45 = 5
46 thru 70 = 6
* = 7
EOF
Or keep the FCELL or DCELL and just use r.recode:
r.recode input=slope output=slope.recode rules=-<<EOF
*:2:1
2:5:2
5:10:3
10:15:4
15:45:5
45:70:6
70:*:7
EOF
?
Moritz
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user