[GRASS-SVN] r54959 - grass/trunk/scripts/v.db.reconnect.all

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 6 09:57:17 PST 2013


Author: neteler
Date: 2013-02-06 09:57:17 -0800 (Wed, 06 Feb 2013)
New Revision: 54959

Modified:
   grass/trunk/scripts/v.db.reconnect.all/v.db.reconnect.all.html
Log:
+Convert GRASS 6 vector map to GRASS 7 including attribute transfer from DBF to SQLite

Modified: grass/trunk/scripts/v.db.reconnect.all/v.db.reconnect.all.html
===================================================================
--- grass/trunk/scripts/v.db.reconnect.all/v.db.reconnect.all.html	2013-02-06 17:10:13 UTC (rev 54958)
+++ grass/trunk/scripts/v.db.reconnect.all/v.db.reconnect.all.html	2013-02-06 17:57:17 UTC (rev 54959)
@@ -92,6 +92,22 @@
 tables will be deleted <i>permanently</i> from the source
 database. This option should be used very carefully!
 
+
+<h3>Convert GRASS 6 vector map to GRASS 7 including attribute transfer from DBF to SQLite</h3>
+
+To become usable in GRASS 7, all vector maps in a mapset need to be updated:
+
+<div class="code"><pre>
+# first build new topology
+v.build.all
+
+# set new default db connection (to SQLite default)
+db.connect -d
+
+# copy attribute tables from old db to new db, delete old tables in DBF format
+v.db.reconnect.all -cd
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list