[GRASS-SVN] r40482 -
grass/branches/develbranch_6/raster/r.resamp.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 16 18:40:30 EST 2010
Author: neteler
Date: 2010-01-16 18:40:29 -0500 (Sat, 16 Jan 2010)
New Revision: 40482
Modified:
grass/branches/develbranch_6/raster/r.resamp.stats/description.html
Log:
fix; weighting note backported
Modified: grass/branches/develbranch_6/raster/r.resamp.stats/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.resamp.stats/description.html 2010-01-16 23:38:05 UTC (rev 40481)
+++ grass/branches/develbranch_6/raster/r.resamp.stats/description.html 2010-01-16 23:40:29 UTC (rev 40482)
@@ -16,22 +16,30 @@
is slower, but produces a more accurate result.
</p>
-
<h2>NOTES</h2>
<p>
Resampling modules (<em>r.resample, r.resamp.stats, r.resamp.interp,
r.resamp.rst</em>) resample the map to match the current region settings.
</p>
+<p>
+The notion of weighting doesn't make any sense for the min and max
+aggregates. However, the <em>-w</em> flag still has significance in
+that, when multiple destination cells overlap a source cell, the
+source cell is included in the calculation of all of the destination
+cells.
+</p>
<h2>EXAMPLE</h2>
+<p>
Resample elevation raster map to a lower resolution (from 6m to 20m;
North Carolina sample dataset):
+</p>
<div class="code"><pre>
g.region rast=el_D782_6m -p
-g.region res=20m -ap
+g.region res=20 -ap
r.resamp.stats input=el_D782_6m output=el_D782_20m
</pre></div>
More information about the grass-commit
mailing list