[GRASS-SVN] r60408 - grass/branches/releasebranch_7_0/scripts/db.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 22 02:30:25 PDT 2014
Author: mlennert
Date: 2014-05-22 02:30:25 -0700 (Thu, 22 May 2014)
New Revision: 60408
Modified:
grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html
Log:
Added hint on PG_LIST_ALL_TABLES variable for PostGIS driver (merge from trunk r60407)
Modified: grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html 2014-05-22 09:27:28 UTC (rev 60407)
+++ grass/branches/releasebranch_7_0/scripts/db.in.ogr/db.in.ogr.html 2014-05-22 09:30:25 UTC (rev 60408)
@@ -36,8 +36,10 @@
</pre></div>
<h3>Import of a PostgreSQL table</h3>
+<div class="code"><pre>
+# HINT: if the database contains spatial tables, but you want to import a non-spatial
+table, set the environmental variable PG_LIST_ALL_TABLES to YES before importing
-<div class="code"><pre>
db.in.ogr dsn="PG:host=localhost dbname=ecad user=neteler" \
db_table=ecad_verona_tmean output=ecad_verona_tmean
db.select ecad_verona_tmean
More information about the grass-commit
mailing list