spatial average

Simon Cox S.Cox at solo.ned.dem.csiro.au
Sat Mar 23 07:00:00 EST 1996


>I'm looking for the easiest way to compute spatial average
>cell values for a raster map (such a DEM or a rainfall field)
>and to create a new raster map  when the surfaces are defined
> by the areas of a vector file.

1.  Label the areas of your vector map using v.digit.

2.  Use v.to.rast to convert the map into a raster.

3.  Use r.average to do your job.

Simon Cox

_________________________________________________________
Dr Simon Cox                        __  \
CSIRO Exploration & Mining       ,~'  L_|\    Australian
39 Fairway, PO Box 437,       ;-'         \   Geodynamics
Nedlands, WA  6009  Australia (            \  Cooperative
      Phone +61 9 284 8443    +    ___     /  Research
      Fax   +61 9 389 1906     L~~'   "\__/   Centre
simon at ned.dem.csiro.au                   W
AGCRC info>>   http://www.ned.dem.csiro.au/AGCRC/
_________________________________________________________







More information about the grass-user mailing list