[GRASS-SVN] r56355 - grass/trunk/vector/v.out.postgis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 21 08:57:36 PDT 2013


Author: martinl
Date: 2013-05-21 08:57:36 -0700 (Tue, 21 May 2013)
New Revision: 56355

Modified:
   grass/trunk/vector/v.out.postgis/v.out.postgis.html
Log:
v.out.postgis: add srid example to the manual


Modified: grass/trunk/vector/v.out.postgis/v.out.postgis.html
===================================================================
--- grass/trunk/vector/v.out.postgis/v.out.postgis.html	2013-05-21 15:47:24 UTC (rev 56354)
+++ grass/trunk/vector/v.out.postgis/v.out.postgis.html	2013-05-21 15:57:36 UTC (rev 56355)
@@ -146,10 +146,12 @@
 <h3>Export data with creation options</h3>
 
 Example bellow demonstrates how to define name for geometry column and
-disable building spatial index.
+disable building spatial index. Spatial reference system is defined
+by <tt>srid</tt> identifier which corresponds in this case with EPSG
+3358 (North Carolina dataset).
 
 <div class="code"><pre>
-v.out.postgis input=roadsmajor dsn="PG:dbname=grass" options="GEOMETRY_NAME=wkb_geometry,SPATIAL_INDEX=NO"
+v.out.postgis input=roadsmajor dsn="PG:dbname=grass" options="GEOMETRY_NAME=wkb_geometry,SPATIAL_INDEX=NO,SRID=3358"
 </pre></div>
 
 <h3>Link exported data</h3>



More information about the grass-commit mailing list