Debian Codegraph @

scripts/r.reclass.area/r.reclass.area.html

raw symbols SCIP
1 <h2>DESCRIPTION</h2>
2
3 <em>r.reclass.area</em> reclasses a raster map greater or
4 less than a user specified area size (in hectares).
5 <p>
6 If the <b>-c</b> flag is used, <em>r.reclass.area</em> will skip the
7 creation of a clumped raster and assume that the input raster is
8 already clumped.
9
10 <h2>EXAMPLES</h2>
11
12 In this example, the ZIP code map in the North Carolina sample dataset
13 is filtered for large areas (removing smaller areas from the map).
14
15 <div class="code"><pre>
16 g.region raster=zipcodes -p
17 r.report zipcodes unit=h
18 </pre></div>
19
20 Extract only areas greater than 2000 ha, NULL otherwise:
21
22 <div class="code"><pre>
23 r.reclass.area input=zipcodes output=zipcodes_larger2000ha mode=greater value=2000
24
25 r.report zipcodes_larger2000ha unit=h
26 </pre></div>
27
28 <div align="center" style="margin: 10px">
29 <img src="zipcodes_larger2000ha.png" width="800px" height="264px"><br>
30 <i>Figure: r.reclass.area method=reclass</i>
31 </div>
32
33 In this example, the ZIP code map in the North Carolina sample dataset
34 is filtered for smaller areas which are substituted with the
35 value of the respective adjacent area with largest shared
36 boundary. Reclass by substitutional removing of areas minor of 1000 ha:
37
38 <div class="code"><pre>
39 r.reclass.area input=zipcodes output=zipcodes_minor1000ha mode=lesser value=1000 method=rmarea
40 </pre></div>
41
42 <div align="center" style="margin: 10px">
43 <img src="zipcodes_minor1000ha.png" width="800px" height="264px"><br>
44 <i>Figure: r.reclass.area method=rmarea</i>
45 </div>
46
47 <h2>SEE ALSO</h2>
48
49 <em>
50 <a href="r.reclass.html">r.reclass</a>,
51 <a href="r.clump.html">r.clump</a>,
52 <a href="r.stats.html">r.stats</a>
53 </em>
54
55 <h2>AUTHORS</h2>
56
57 NRCS,<br>
58 Markus Neteler