[GRASS-SVN] r68035 - grass/trunk/vector/v.to.points

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 10 08:47:08 PST 2016


Author: neteler
Date: 2016-03-10 08:47:07 -0800 (Thu, 10 Mar 2016)
New Revision: 68035

Modified:
   grass/trunk/vector/v.to.points/v.to.points.html
Log:
v.to.points manual: new NC data example

Modified: grass/trunk/vector/v.to.points/v.to.points.html
===================================================================
--- grass/trunk/vector/v.to.points/v.to.points.html	2016-03-10 13:01:17 UTC (rev 68034)
+++ grass/trunk/vector/v.to.points/v.to.points.html	2016-03-10 16:47:07 UTC (rev 68035)
@@ -84,18 +84,25 @@
  (length of input line / 2) <= <em>dmax</em> <= length of input line
 </pre></div>
 
-So if <b>dmax</b> is between 0.5x and 1.0x the line length, you will
+Hence, if <b>dmax</b> is between 0.5x and 1.0x the line length, you will
 always get points created at exactly the beginning, middle and end of
 the input line.
 
 <h2>EXAMPLE</h2>
 
-In this example, the 't_powerlines' vector lines map in the
-<a href="http://grass.osgeo.org/download/data6.php">Spearfish 6</a>
-location is used to create points along the input lines:
+In this example, the 'railroads' vector lines map of the North Carolina
+sample dataset is used to create points along the input lines:
 
 <div class="code"><pre>
-v.to.points in=t_powerlines out=t_powerlines_points dmax=120
+# The North Carolina data are metric.
+# 200m distance for nodes (maximum limit but not an exact distance)
+v.to.points railroads output=railroads_nodes use=node dmax=200
+
+# verify the two layers in the resulting map
+v.category railroads_nodes option=report
+
+# vector info
+v.info railroads_nodes
 </pre></div>
 
 <h2>SEE ALSO</h2>



More information about the grass-commit mailing list