Note: This document is for an older version of GRASS GIS that has been discontinued. You should upgrade, and read the current 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: Monday Jan 30 19:52:26 2023 in commit: cac8d9d848299297977d1315b7e90cc3f7698730


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

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual