GRASS logo

NAME

r.area - Calculates area of clumped areas and remove areas smaller or greater 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]
Name of output raster with categories representing area size (in cells)
lesser=integer
Remove areas with number of cells lower than given value (0 for none):
Default: 0
greater=integer
Remove areas with number of cells greater than given value (-1 for none):
Default: -1

Table of contents

DESCRIPTION

Module r.area reclassifies raster areas (created typically with r.clump) to values representing their size (in cells). Additionally, it can be used to remove areas smaller or greater than a treshold.

NOTE

If areas belonging to a certain category are not continuous every area belonging to the same category has the same area value.

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-2019 GRASS Development Team, GRASS GIS 7.6.2svn Reference Manual