소스 검색

r.neighbors.html: annulus shaped neighborhood example added

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61208 15284696-431f-4ddb-bdfa-cd5b030d7da7
Helmut Kudrnovsky 11 년 전
부모
커밋
883acabec8
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      raster/r.neighbors/r.neighbors.html

+ 10 - 0
raster/r.neighbors/r.neighbors.html

@@ -206,6 +206,16 @@ This corresponds to the following 3x3 matrix:
     -------
 </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.