1r.reclass.area(1) Grass 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 \
75 mode=greater value=2000
76 r.report zipcodes_larger2000ha unit=h
77 In this example, the ZIP code map in the North Carolina sample dataset
78 location is filtered for smaller areas which are substituted with the
79 value of the respective adjacent area with largest shared boundary:
80 # reclass by substitutional removing of areas minor of 1000 ha
81 r.reclass.area input=zipcodes output=zipcodes_minor1000ha \
82 mode=lesser value=1000 method=rmarea
83
85 r.reclass, r.clump, r.stats
86
88 NRCS,
89 Markus Neteler
90
91 Last changed: $Date: 2015-11-20 07:00:52 +0100 (Fri, 20 Nov 2015) $
92
94 Available at: r.reclass.area source code (history)
95
96 Main index | Raster index | Topics index | Keywords index | Graphical
97 index | Full index
98
99 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
100
101
102
103GRASS 7.4.4 r.reclass.area(1)