[GRASS-SVN] r34931 - grass/trunk/scripts/v.to.3d
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 19 06:49:13 EST 2008
Author: martinl
Date: 2008-12-19 06:49:13 -0500 (Fri, 19 Dec 2008)
New Revision: 34931
Modified:
grass/trunk/scripts/v.to.3d/v.to.3d.html
Log:
v.to.3d: add example
(merge from devbr6, r34930)
Modified: grass/trunk/scripts/v.to.3d/v.to.3d.html
===================================================================
--- grass/trunk/scripts/v.to.3d/v.to.3d.html 2008-12-19 11:35:46 UTC (rev 34930)
+++ grass/trunk/scripts/v.to.3d/v.to.3d.html 2008-12-19 11:49:13 UTC (rev 34931)
@@ -5,11 +5,22 @@
by <b>height</b> parameter as fixed value or by <b>column</b>
parameter.
+<h2>EXAMPLES</h2>
+
+<div class="code"><pre>
+# convert z-values from string to double
+v.db.addcol map=geodetic_pts columns="Z_VALUE_D double precision"
+v.db.update map=geodetic_pts column=Z_VALUE_D qcolumn=Z_VALUE
+v.db.select map=geodetic_pts columns=cat,Z_VALUE,Z_VALUE_
+
+# convert 2D vector point map to 3D based on attribute
+v.to.3d input=geodetic_pts out=geodetic_pts_3d column=Z_VALUE_D
+</pre></div>
+
<h2>TODO</h2>
<ul>
<li>Implement reverse transformation</li>
- <li>Some examples</li>
</ul>
<h2>SEE ALSO</h2>
More information about the grass-commit
mailing list