[GRASS-SVN] r71402 - grass/trunk/vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 14 11:08:24 PDT 2017
Author: mlennert
Date: 2017-08-14 11:08:24 -0700 (Mon, 14 Aug 2017)
New Revision: 71402
Modified:
grass/trunk/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
Modified: grass/trunk/vector/v.in.ogr/v.in.ogr.html
===================================================================
--- grass/trunk/vector/v.in.ogr/v.in.ogr.html 2017-08-14 17:28:04 UTC (rev 71401)
+++ grass/trunk/vector/v.in.ogr/v.in.ogr.html 2017-08-14 18:08:24 UTC (rev 71402)
@@ -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