[GRASS-SVN] r52121 - grass-addons/grass7/vector/v.build.pg
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 18 06:06:57 PDT 2012
Author: martinl
Date: 2012-06-18 06:06:56 -0700 (Mon, 18 Jun 2012)
New Revision: 52121
Modified:
grass-addons/grass7/vector/v.build.pg/v.build.pg.html
Log:
v.build.pg: document dry run mode
Modified: grass-addons/grass7/vector/v.build.pg/v.build.pg.html
===================================================================
--- grass-addons/grass7/vector/v.build.pg/v.build.pg.html 2012-06-18 10:00:03 UTC (rev 52120)
+++ grass-addons/grass7/vector/v.build.pg/v.build.pg.html 2012-06-18 13:06:56 UTC (rev 52121)
@@ -69,11 +69,38 @@
...
</pre></div>
+<h3>Dry run</h3>
+
+For testing issues use <b>-p</b> flag.
+
+<div class="code"><pre>
+v.build.pg map=bridges
+
+Creating new topology schema...
+
+SELECT topology.createtopology('topo_bridges', \
+find_srid('public', 'bridges', 'wkb_geometry'), 1)
+
+Adding new topology column...
+
+SELECT topology.AddTopoGeometryColumn('topo_bridges', \
+'public', 'bridges', 'topo', 'point')
+
+Building PostGIS topology...
+
+UPDATE bridges SET topo = topology.toTopoGeom(wkb_geometry, \
+'topo_bridges', 1, 1)
+
+
+SELECT topology.TopologySummary('topo_bridges')
+</pre></div>
+
<h2>SEE ALSE</h2>
<em>
<a href="v.external.html">v.external</a>,
<a href="v.out.ogr.html">v.out.ogr</a>,
+ <a href="v.out.postgis.html">v.out.postgis</a>,
<a href="v.build.html">v.build</a>
</em>
More information about the grass-commit
mailing list