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

Last changed: $Date 2017-10-12$

SOURCE CODE

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


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

© 2003-2019 GRASS Development Team, GRASS GIS 7.4.5svn Reference Manual