GRASS logo

NAME

r.grow - Generates a raster map layer with contiguous areas grown by one cell.

KEYWORDS

raster

SYNOPSIS

r.grow
r.grow help
r.grow [-q] input=name output=name [radius=float] [metric=string] [old=integer] [new=integer] [--overwrite] [--verbose] [--quiet]

Flags:

-q
Quiet
--overwrite
Allow output files to overwrite existing files
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

input=name
Name of input raster map
output=name
Name for output raster map
radius=float
Radius of buffer in raster cells
Default: 1.01
metric=string
Metric
Options: euclidian,maximum,manhattan
Default: euclidian
old=integer
Value to write for input cells which are non-NULL (-1 => NULL)
new=integer
Value to write for "grown" cells

DESCRIPTION

r.grow adds cells around the perimeters of all areas in a user-specified raster map layer and stores the output in a new raster map layer. The user can use it to grow by one or more than one cell, or like r.buffer, but with the option of preserving the original cells (similar to combining r.buffer and r.patch).

SEE ALSO

r.buffer, r.patch

AUTHORS

Marjorie Larson, U.S. Army Construction Engineering Research Laboratory

Glynn Clements

Last changed: $Date: 2004-11-12 05:05:41 -0800 (Fri, 12 Nov 2004) $


Main index - raster index - Full index

© 2003-2008 GRASS Development Team