Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.

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 threshold.

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)

Latest change: Wed Jan 12 09:55:29 2022 in commit: 11cdf2d076d2173e3e689b2c272ba67e36eec1f7


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

© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual