Browse Source

v.neighbors manual: example added

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62726 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 years ago
parent
commit
cd032873ae
1 changed files with 12 additions and 0 deletions
  1. 12 0
      vector/v.neighbors/v.neighbors.html

+ 12 - 0
vector/v.neighbors/v.neighbors.html

@@ -4,9 +4,21 @@ Makes each cell value a function of the attribute values assigned to the
 vector points or centroids around it, and stores new cell values in
 vector points or centroids around it, and stores new cell values in
 an output raster map layer.
 an output raster map layer.
 
 
+<h2>EXAMPLE</h2>
+
+Count the number of schools for a given grid (North Carolina sample
+dataset) in a moving windows:
+
+<div class="code"><pre>
+g.region rast=zipcodes -p res=500
+v.neighbors input=schools_wake output=schools_wake_500m method=count size=3
+</pre></div>
+
 <h2>SEE ALSO</h2>
 <h2>SEE ALSO</h2>
 
 
+<em>
 <a href="r.neighbors.html">r.neighbors</a>
 <a href="r.neighbors.html">r.neighbors</a>
+</em>
 
 
 <h2>AUTHOR</h2>
 <h2>AUTHOR</h2>