r.grow

## 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]

### Flags:

-q
  Quiet
--overwrite
  Force overwrite of output files

### 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 13:05:41 $

Main index - raster index - Full index