DESCRIPTION

r.clump2 finds all areas of contiguous cell category values in the input raster map layer name. It assigns a unique category value to each such area ("clump") in the resulting output raster map layer name. Optionally r.clump2 uses start points and finds only those clumps where the start points are falling into.

Differences to r.clump

Category distinctions in the input raster map layer are NOT preserved. This means that if distinct category values are adjacent, they will be clumped together if possible.

Contrary to r.clump, NULL cells are ignored and not clumped.

r.clump2 also consideres diagonal cells. r.clump2 can be forced to consider only edge cells with the e flag, diagonal cells are now ignored.

Linear elements (lines that are a single cell wide) are without the e flag always clumped together.

NOTES

A random color table and other support files are generated for the output raster map layer.

SEE ALSO

r.clump
r.average
r.buffer
r.grow
r.mapcalc
r.mfilter
r.neighbors
r.to.vect
r.reclass
r.statistics
r.support

AUTHOR

Markus Metz

Last changed: $Date$