[GRASS-SVN] r60407 - grass/trunk/scripts/db.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 22 02:27:28 PDT 2014


Author: mlennert
Date: 2014-05-22 02:27:28 -0700 (Thu, 22 May 2014)
New Revision: 60407

Modified:
   grass/trunk/scripts/db.in.ogr/db.in.ogr.html
Log:
Added hint on PG_LIST_ALL_TABLES variable for PostGIS driver

Modified: grass/trunk/scripts/db.in.ogr/db.in.ogr.html
===================================================================
--- grass/trunk/scripts/db.in.ogr/db.in.ogr.html	2014-05-22 07:30:14 UTC (rev 60406)
+++ grass/trunk/scripts/db.in.ogr/db.in.ogr.html	2014-05-22 09:27:28 UTC (rev 60407)
@@ -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