1r.reclass.area(1) GRASS GIS User's Manual r.reclass.area(1)
2
3
4
6 r.reclass.area - Reclasses a raster map greater or less than user
7 specified area size (in hectares).
8
10 raster, statistics, aggregation
11
13 r.reclass.area
14 r.reclass.area --help
15 r.reclass.area [-cd] input=name output=name value=float mode=string
16 [method=string] [--overwrite] [--help] [--verbose] [--quiet]
17 [--ui]
18
19 Flags:
20 -c
21 Input map is clumped
22
23 -d
24 Clumps including diagonal neighbors
25
26 --overwrite
27 Allow output files to overwrite existing files
28
29 --help
30 Print usage summary
31
32 --verbose
33 Verbose module output
34
35 --quiet
36 Quiet module output
37
38 --ui
39 Force launching GUI dialog
40
41 Parameters:
42 input=name [required]
43 Name of input raster map
44
45 output=name [required]
46 Name for output raster map
47
48 value=float [required]
49 Value option that sets the area size limit (in hectares)
50
51 mode=string [required]
52 Lesser or greater than specified value
53 Options: lesser, greater
54
55 method=string
56 Method used for reclassification
57 Options: reclass, rmarea
58 Default: reclass
59
61 r.reclass.area reclasses a raster map greater or less than a user spec‐
62 ified area size (in hectares).
63
64 If the -c flag is used, r.reclass.area will skip the creation of a
65 clumped raster and assume that the input raster is already clumped.
66
68 In this example, the ZIP code map in the North Carolina sample dataset
69 location is filtered for large areas (removing smaller areas from the
70 map).
71 g.region raster=zipcodes -p
72 r.report zipcodes unit=h
73 Extract only areas greater than 2000 ha, NULL otherwise:
74 r.reclass.area input=zipcodes output=zipcodes_larger2000ha mode=greater value=2000
75 r.report zipcodes_larger2000ha unit=h
76 Figure: r.reclass.area method=reclass In this example, the ZIP code map
77 in the North Carolina sample dataset location is filtered for smaller
78 areas which are substituted with the value of the respective adjacent
79 area with largest shared boundary. Reclass by substitutional removing
80 of areas minor of 1000 ha:
81 r.reclass.area input=zipcodes output=zipcodes_minor1000ha mode=lesser value=1000 method=rmarea
82 Figure: r.reclass.area method=rmarea
83
85 r.reclass, r.clump, r.stats
86
88 NRCS,
89 Markus Neteler
90
92 Available at: r.reclass.area source code (history)
93
94 Accessed: Mon Jun 20 16:47:45 2022
95
96 Main index | Raster index | Topics index | Keywords index | Graphical
97 index | Full index
98
99 © 2003-2022 GRASS Development Team, GRASS GIS 8.2.0 Reference Manual
100
101
102
103GRASS 8.2.0 r.reclass.area(1)