[GRASS-SVN] r71403 - grass/branches/releasebranch_7_2/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 14 11:10:15 PDT 2017


Author: mlennert
Date: 2017-08-14 11:10:15 -0700 (Mon, 14 Aug 2017)
New Revision: 71403

Modified:
   grass/branches/releasebranch_7_2/vector/v.in.ogr/v.in.ogr.html
Log:
v.in.ogr: comment out db.connect/db.login approach to PostGIS import and add info on schema usage (backport from trunk r71402)

Modified: grass/branches/releasebranch_7_2/vector/v.in.ogr/v.in.ogr.html
===================================================================
--- grass/branches/releasebranch_7_2/vector/v.in.ogr/v.in.ogr.html	2017-08-14 18:08:24 UTC (rev 71402)
+++ grass/branches/releasebranch_7_2/vector/v.in.ogr/v.in.ogr.html	2017-08-14 18:10:15 UTC (rev 71403)
@@ -247,6 +247,20 @@
 output=polygons type=boundary,centroid
 </pre></div>
 
+If the table containing the polygons are in a specific schema, you can use:
+
+<div class="code"><pre>
+v.in.ogr input="PG:host=localhost dbname=postgis user=postgres" \
+layer=myschema.polymap \
+output=polygons type=boundary,centroid
+</pre></div>
+
+Generally, v.in.ogr just follows the 
+<a href="http://www.gdal.org/ogr_formats.html">format-specific</a>
+syntax defined by the OGR library.
+
+
+<!-- Commented out until we clarify usage of default connection - ML
 <h3>Default connection settings as datasource (PostgreSQL only)</h3>
 
 If datasource (<b>input</b>) is specified as 'PG:' and the default DB
@@ -282,6 +296,7 @@
 v.in.ogr input=PG: layer=river output=river 
 db.select table=river
 </pre></div>
+--->
 
 <h3>Oracle Spatial</h3>
 



More information about the grass-commit mailing list