[GRASS-SVN] r55011 - grass/trunk/db/db.copy
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 12 03:18:05 PST 2013
Author: neteler
Date: 2013-02-12 03:18:05 -0800 (Tue, 12 Feb 2013)
New Revision: 55011
Modified:
grass/trunk/db/db.copy/db.copy.html
Log:
partial fix for trac #1862
Modified: grass/trunk/db/db.copy/db.copy.html
===================================================================
--- grass/trunk/db/db.copy/db.copy.html 2013-02-12 11:01:38 UTC (rev 55010)
+++ grass/trunk/db/db.copy/db.copy.html 2013-02-12 11:18:05 UTC (rev 55011)
@@ -17,7 +17,7 @@
through ODBC:</em><br>
<div class="code"><pre>
-db.copy from_driver=dbf from_database=$HOME/grassdata/nc_spm_08/user1/dbf \
+db.copy from_driver=dbf from_database='$GISDBASE/$LOCATION_NAME/PERMANENT/dbf' \
from_table=geonames to_driver=pg to_database="host=pgserver,dbname=testdb" \
to_table=geonames
</pre></div>
@@ -28,7 +28,7 @@
<div class="code"><pre>
db.copy from_driver=pg from_database="host=pgserver.example.org,dbname=testdb" \
from_table=origtable to_driver=dbf \
- to_database=$HOME/grassdata/nc_spm_08/user1/dbf to_table=origtable
+ to_database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf' to_table=origtable
</pre></div>
@@ -43,7 +43,7 @@
<h3>DBF -> SQLite</h3>
<div class="code"><pre>
-db.copy from_driver=dbf from_database='$GISDBASE/$LOCATION_NAME/$MAPSET/PERMANENT/dbf \
+db.copy from_driver=dbf from_database='$GISDBASE/$LOCATION_NAME/PERMANENT/dbf' \
from_table=geonames_features to_driver=sqlite \
to_database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' to_table=geonames_features
@@ -53,8 +53,8 @@
<h3>SQLite -> DBF</h3>
<div class="code"><pre>
-db.copy from_driver=sqlite from_database=$HOME/grassdata/nc_spm_08/user1/sqlite.db \
- from_table=ammprv to_driver=dbf to_database=$HOME/grassdata/nc_spm_08/user1/dbf \
+db.copy from_driver=sqlite from_database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db' \
+ from_table=ammprv to_driver=dbf to_database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/' \
to_table=ammprv
</pre></div>
@@ -62,9 +62,10 @@
<h2>SEE ALSO</h2>
<em>
-<a href="v.db.connect.html">v.db.connect</a>,
+<a href="db.connect.html">db.connect</a>,
<a href="db.drivers.html">db.drivers</a>,
<a href="db.login.html">db.login</a>,
+<a href="v.db.connect.html">v.db.connect</a>,
<a href="v.clean.html">v.clean</a>,
<a href="sql.html">GRASS SQL interface</a>
</em>
More information about the grass-commit
mailing list