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.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: Thu Feb 3 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c


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

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