GRASS logo

NAME

r.cell.area - Calculate cell sizes within the computational region

KEYWORDS

raster, statistics

SYNOPSIS

r.cell.area
r.cell.area --help
r.cell.area output=name units=string [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

--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:

output=name [required]
Output grid of cell sizes
units=string [required]
Units for output areas
Options: m2, km2

Table of contents

DESCRIPTION

r.cell.area uses the current computational region to compute the area of each raster cell. It can do so on a projected coordinate system or on a geographic coordinate system; the latter is accomplished via the latitude of the cell's midpoint. This approximation can generate ~1% error with coarse lat/lon cells near the poles.

NOTES

Output units can be either square meters or square kilometers. This module is useful for determining the flow accumulation area to weight flow accumulation algorithms by rainfall and/or on lat/lon grids.

SEE ALSO

r.mapcalc

AUTHOR

Andrew D. Wickert

SOURCE CODE

Available at: r.cell.area source code (history)

Latest change: Monday Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


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

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.9dev Reference Manual