
NAME
r.resamp.stats - Resamples raster map layers to a coarser grid using aggregation.
KEYWORDS
raster, resample
SYNOPSIS
r.resamp.stats
r.resamp.stats help
r.resamp.stats [-nw] input=name output=name [method=string] [--overwrite] [--verbose] [--quiet]
Flags:
- -n
- Propagate NULLs
- -w
- Weight according to area (slower)
- --overwrite
- Allow output files to overwrite existing files
- --verbose
- Verbose module output
- --quiet
- Quiet module output
Parameters:
- input=name
- Name of input raster map
- output=name
- Name for output raster map
- method=string
- Aggregation method
- Options: average,median,mode,minimum,maximum,quart1,quart3,perc90,sum,variance,stddev
- Default: average
DESCRIPTION
r.resamp.stats fills a grid cell (raster) matrix with
aggregated values generated from a set of input layer data points.
Without the -w switch, the aggregate is computed over all of
the input cells whose centers lie within the output cell.
With the -w switch, the aggregate uses the values from all
input cells which intersect the output cell, weighted according to the
proportion of the source cell which lies inside the output cell. This
is slower, but produces a more accurate result.
NOTES
SEE ALSO
g.region,
r.resample,
r.resamp.rst
r.resamp.interp
AUTHOR
Glynn Clements
Last changed: $Date: 2006-10-18 10:59:55 -0700 (Wed, 18 Oct 2006) $
Main index - raster index - Full index
© 2003-2008 GRASS Development Team