[GRASS-SVN] r40178 - grass-addons/vector/v.in.lines
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 1 22:48:47 EST 2010
Author: hamish
Date: 2010-01-01 22:48:46 -0500 (Fri, 01 Jan 2010)
New Revision: 40178
Modified:
grass-addons/vector/v.in.lines/description.html
Log:
add example
Modified: grass-addons/vector/v.in.lines/description.html
===================================================================
--- grass-addons/vector/v.in.lines/description.html 2010-01-01 21:12:16 UTC (rev 40177)
+++ grass-addons/vector/v.in.lines/description.html 2010-01-02 03:48:46 UTC (rev 40178)
@@ -6,8 +6,8 @@
<H2>NOTES</H2>
Input ASCII coordinates are simply a series of "x y" data points.
-Lines are separated by a row containing "<tt>NaN NaN</tt>". Line
-categories start at 1 and increase sequentially.
+Lines are separated by a row containing "<tt>NaN NaN</tt>".
+<!-- TODO:? Line categories start at 1 and increase sequentially. -->
<P>
You can import 3D lines by providing 3 columns of data in the input
stream and using the <B>-z</B> flag.
@@ -15,11 +15,34 @@
This script is a simple wrapper around the <em>v.in.mapgen</em> module.
+<H2>EXAMPLE</H2>
+
+<div class="code"><pre>
+v.in.lines in=- out=two_lines fs=, <<EOF
+167.846717,-46.516653
+167.846663,-46.516645
+167.846656,-46.516644
+167.846649,-46.516644
+167.846642,-46.516643
+NaN,NaN
+167.846520,-46.516457
+167.846528,-46.516461
+167.846537,-46.516464
+167.846535,-46.516486
+167.846544,-46.516489
+167.846552,-46.516493
+EOF
+
+v.category in=two_lines out=lines_with_cats option=add
+</pre></div>
+
+
<H2>SEE ALSO</H2>
<em>
<A HREF="v.in.ascii.html">v.in.ascii</A><br>
<A HREF="v.in.mapgen.html">v.in.mapgen</A><br>
<A HREF="v.out.ascii.html">v.out.ascii</A><br>
+<A HREF="d.graph.html">d.graph</a><br>
<A HREF="r.in.poly.html">r.in.poly</A>
</em>
More information about the grass-commit
mailing list