瀏覽代碼

v.to.points manual: new NC data example

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68036 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 年之前
父節點
當前提交
cbbb53cbb2
共有 1 個文件被更改,包括 13 次插入6 次删除
  1. 13 6
      vector/v.to.points/v.to.points.html

+ 13 - 6
vector/v.to.points/v.to.points.html

@@ -9,7 +9,7 @@ about <b>type</b> parameter.
 The output is a vector map with 2 layers. Layer 1 holds the category
 of the input features; all points created along the same line have the
 same category, equal to the category of that line. In layer 2 each
-point has it's unique category; other attributes stored in layer 2
+point has its unique category; other attributes stored in layer 2
 are <em>lcat</em> - the category of the input line and <em>along</em>
 - the distance from line's start.
 
@@ -84,18 +84,25 @@ the <b>-i</b> flag and set <b>dmax</b> so that:
  (length of input line / 2) &lt;= <em>dmax</em> &lt;= 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>