1r.clump(1)                    Grass User's Manual                   r.clump(1)
2
3
4

NAME

6       r.clump   -  Recategorizes data in a raster map layer by grouping cells
7       that form physically discrete areas into unique categories.
8

KEYWORDS

10       raster
11

SYNOPSIS

13       r.clump
14       r.clump help
15       r.clump [-q] input=name output=name   [title="string"]    [--overwrite]
16       [--verbose]  [--quiet]
17
18   Flags:
19       -q
20           Run quietly
21
22       --overwrite
23           Allow output files to overwrite existing files
24
25       --verbose
26           Verbose module output
27
28       --quiet
29           Quiet module output
30
31   Parameters:
32       input=name
33           Name of input raster map
34
35       output=name
36           Name for output raster map
37
38       title=
39           Title, in quotes
40

DESCRIPTION

42       r.clump finds all areas of contiguous cell category values in the input
43       raster map layer name. It assigns a unique category value to each  such
44       area ("clump") in the resulting output raster map layer name.  Category
45       distinctions in the input raster map layer are preserved.   This  means
46       that if distinct category values are adjacent, they will NOT be clumped
47       together.  (The user can run <A  HREF="r.reclass.html">r.reclass  prior
48       to r.clump to recategorize cells and reassign cell category values.)
49

NOTES

51       r.clump  moves a 2x2 matrix over the input raster map layer.  The lower
52       right-hand corner of the matrix is grouped with the cells above it,  or
53       to the left of it (diagonal cells are not considered.)
54
55       r.clump  works  properly with raster map layers that contain only "fat"
56       areas (more than a single cell in width).  Linear elements (lines  that
57       are a single cell wide) may or may not be clumped together depending on
58       the direction of the line - horizontal and vertical lines of cells  are
59       considered  to  be contiguous, but diagonal lines of cells are not con‐
60       sidered to be contiguous and are broken up into separate clumps.
61
62       A random color table and other support files are generated for the out‐
63       put raster map layer.
64

SEE ALSO

66       r.average
67       r.buffer
68       r.grow
69        r.mapcalc
70       r.mfilter
71       r.neighbors
72       r.to.vect
73       r.reclass
74       r.statistics
75       r.support
76

AUTHOR

78       Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
79
80       Last changed: $Date: 2008-02-26 17:36:59 +0100 (Tue, 26 Feb 2008) $
81
82       Full index
83
84       © 2003-2008 GRASS Development Team
85
86
87
88GRASS 6.3.0                                                         r.clump(1)
Impressum