[GRASS-SVN] r61208 - grass/trunk/raster/r.neighbors

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 9 01:45:33 PDT 2014


Author: hellik
Date: 2014-07-09 01:45:32 -0700 (Wed, 09 Jul 2014)
New Revision: 61208

Modified:
   grass/trunk/raster/r.neighbors/r.neighbors.html
Log:
r.neighbors.html: annulus shaped neighborhood example added

Modified: grass/trunk/raster/r.neighbors/r.neighbors.html
===================================================================
--- grass/trunk/raster/r.neighbors/r.neighbors.html	2014-07-09 07:50:29 UTC (rev 61207)
+++ grass/trunk/raster/r.neighbors/r.neighbors.html	2014-07-09 08:45:32 UTC (rev 61208)
@@ -206,6 +206,16 @@
     -------
 </pre>
 
+To calculate an annulus shaped neighborhood the contents of weight.txt file 
+may be e.g. for size=5:
+<pre>
+ 0 1 1 1 0
+ 1 0 0 0 1
+ 1 0 0 0 1
+ 1 0 0 0 1
+ 0 1 1 1 0
+</pre>
+
 The way that weights are used depends upon the specific aggregate
 (<b>method</b>) being used.
 



More information about the grass-commit mailing list