[GRASS-SVN] r54059 - grass/trunk/db/drivers/sqlite

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 26 12:30:16 PST 2012


Author: neteler
Date: 2012-11-26 12:30:16 -0800 (Mon, 26 Nov 2012)
New Revision: 54059

Modified:
   grass/trunk/db/drivers/sqlite/grass-sqlite.html
Log:
updated to reflect new behaviour of storing sqlite DB in subdir

Modified: grass/trunk/db/drivers/sqlite/grass-sqlite.html
===================================================================
--- grass/trunk/db/drivers/sqlite/grass-sqlite.html	2012-11-26 20:21:24 UTC (rev 54058)
+++ grass/trunk/db/drivers/sqlite/grass-sqlite.html	2012-11-26 20:30:16 UTC (rev 54059)
@@ -29,7 +29,7 @@
 
 <div class="code"><pre>
 # example for storing DB in mapset directory (keep single quotes):
-db.connect driver=sqlite database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db'
+db.connect driver=sqlite database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db'
 db.connect -p
 </pre></div>
 
@@ -51,9 +51,10 @@
 the following way is suggested (corresponds to above database connection):
 
 <div class="code"><pre>
+# fetch GRASS variables as shell environment variables:
 eval `g.gisenv`
 # use double quotes:
-sqlitebrowser "$GISDBASE/$LOCATION_NAME/$MAPSET"/sqlite.db
+sqlitebrowser "$GISDBASE/$LOCATION_NAME/$MAPSET"/sqlite/sqlite.db
 </pre></div>
 
 <!-- doesnt work yet, why?:



More information about the grass-commit mailing list