浏览代码

updated to reflect new behaviour of storing sqlite DB in subdir

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54059 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 年之前
父节点
当前提交
4e849690a1
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      db/drivers/sqlite/grass-sqlite.html

+ 3 - 2
db/drivers/sqlite/grass-sqlite.html

@@ -29,7 +29,7 @@ is created:
 
 <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 @@ To open a DB file stored within the current mapset,
 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?: