[GRASS-SVN] r61712 - grass/branches/releasebranch_6_4/vector/v.generalize

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 21 06:50:22 PDT 2014


Author: neteler
Date: 2014-08-21 06:50:22 -0700 (Thu, 21 Aug 2014)
New Revision: 61712

Modified:
   grass/branches/releasebranch_6_4/vector/v.generalize/description.html
Log:
v.generalize manual: examples added

Modified: grass/branches/releasebranch_6_4/vector/v.generalize/description.html
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.generalize/description.html	2014-08-21 13:49:55 UTC (rev 61711)
+++ grass/branches/releasebranch_6_4/vector/v.generalize/description.html	2014-08-21 13:50:22 UTC (rev 61712)
@@ -222,7 +222,6 @@
 The lines affected by the algorithm can be specified by the <b>layer</b>,
 <b>cats</b> and <b>where</b> parameters.
 
-<!-- TODO: example(s) -->
 
 <h3>NETWORK GENERALIZATION</h3>
 
@@ -263,23 +262,67 @@
 Also, the outputed network may not be connected if the value of 
 <b>betweeness_thresh</b> is too large.
 
-<!-- TODO: example(s) -->
 
+<h2>EXAMPLES</h2>
+
+<h3>Simplification</h3>
+Simplification of county boundaries with DP method (North Carolina sample dataset):
+
+<div class="code"><pre>
+v.generalize input=boundary_county output=boundary_county_dp20 \
+  method=douglas threshold=20
+</pre></div>
+
+<h3>Smoothing</h3>
+
+Smoothing of road network with Chaiken method (North Carolina sample dataset):
+
+<div class="code"><pre>
+v.generalize input=roads output=roads_chaiken method=chaiken \
+  threshold=1
+</pre></div>
+
+<!-- TODO: 
+<h3>Displacement</h3>
+
+Displacement of ... (North Carolina sample dataset):
+
+<div class="code"><pre>
+v.generalize input=xxx output=xxx_yyy method=...
+</pre></div>
+
+<h3>Network generalization</h3>
+
+Network generalization of ... (North Carolina sample dataset):
+
+<div class="code"><pre>
+v.generalize input=xxx output=xxx_yyy method=...
+</pre></div>
+-->
+
+<!-- TODO: 
+<h2>REFERENCES</h2>
+
+<ul>
+<li>...</li>
+</ul>
+-->
+
 <h2>SEE ALSO</h2>
 
 <em>
   <a href="v.clean.html">v.clean</a>,
   <a href="v.dissolve.html">v.dissolve</a>
 </em>
-<br><br>
-<a href="http://grasswiki.osgeo.org/wiki/V.generalize_tutorial">v.generalize Tutorial</a> (from GRASS-Wiki)
+<p>
+<a href="http://grasswiki.osgeo.org/wiki/V.generalize_tutorial">v.generalize Tutorial</a> (GRASS-Wiki)
 
+
 <h2>AUTHORS</h2>
 
 Daniel Bundala, Google Summer of Code 2007, Student<br>
-Wolf Bergenheim, Mentor
+Wolf Bergenheim, Mentor<br>
+Fixes: Markus Metz
 
-<!-- TODO: references -->
-
 <p>
 <i>Last changed: $Date$</i>



More information about the grass-commit mailing list