GRASS logo

NAME

r.area - Calculates area of clumped areas and remove areas smaller than given threshold.

KEYWORDS

raster, statistics, area

SYNOPSIS

r.area
r.area --help
r.area [-b] input=name output=name [lesser=integer] [greater=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-b
Binary output
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=name [required]
Name of cell category map, e.g., maps created with r.clump
output=name [required]
Map with area size (in cells)
lesser=integer
Remove areas lower than (0 for none):
Default: 0
greater=integer
Remove areas greater than (-1 for none):
Default: -1

Table of contents

OPTIONS

input
Name of input created with r.clump or another cell category map.
treshold
Remove areas smaller than treshold, set null for removing areas
binary
Output map has only 0 and 1 values. If treshold is applied small areas are emoved and replaced by 0
output
Original categories replaced with number of cells for each category. If areas belonging to category are not continuous every area belonging to the same category has the same area value.

DESCRIPTION

module can be used to remove, areas smaller than treshold, reclass according areas (similar to r.reclass area, but work in cells, not hectares and allow create more classes)

SEE ALSO

r.clump, r.mapcalc, r.reclass.area

AUTHOR

Jarek Jasiewicz

SOURCE CODE

Available at: r.area source code (history)


Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2018 GRASS Development Team, GRASS GIS 7.4.1svn Reference Manual