|
@@ -6,12 +6,15 @@
|
|
|
|
|
|
Values are stored in the mapset's <tt>VAR</tt> file; the connection is
|
|
|
not tested for validity. <p>The <b>-d</b> flag will set the default
|
|
|
-TGIS connection parameters. A sqlite3 database "tgis/sqlite.db" will be
|
|
|
-created in the PERMANET directory of the current location. It will be
|
|
|
-located in the "tgis" sub-directory to not interfere with the sqlite3
|
|
|
-database used for vector attribute storage. <p>The <b>-p</b> flag will
|
|
|
-display the current TGIS connection parameters. <p>The <b>-pg</b> flag
|
|
|
-will display the current TGIS connection parameters using shell style.
|
|
|
+TGIS connection parameters.
|
|
|
+<!-- TODO: really always PERMANENT? - see http://trac.osgeo.org/grass/ticket/2258 -->
|
|
|
+A SQLite3 database "tgis/sqlite.db" will be created in the PERMANENT directory
|
|
|
+of the current location. It will be located in the "tgis" sub-directory to not
|
|
|
+interfere with the sqlite3 database used for vector attribute storage.
|
|
|
+
|
|
|
+<p>The <b>-p</b> flag will display the current TGIS connection parameters.
|
|
|
+<p>The <b>-pg</b> flag will display the current TGIS connection parameters
|
|
|
+using shell style.
|
|
|
<p>The <b>-c</b> flag will silently check if the TGIS connection
|
|
|
parameters have been set, and if not will set them to use GRASS's
|
|
|
default values.
|
|
@@ -20,7 +23,7 @@ default values.
|
|
|
|
|
|
The default TGIS database of type sqlite3 is located in the PERMANENT
|
|
|
mapset directory. Temporal GIS content from all created mapsets will be
|
|
|
-stored here. In case you have thousends of maps to register in the
|
|
|
+stored here. In case you have thousands of maps to register in the
|
|
|
temporal database or you need concurrent read and write access in the
|
|
|
TGIS database, consider to use a postgresql database instead.
|
|
|
|
|
@@ -36,10 +39,8 @@ t.info -s
|
|
|
The SQLite database is created automatically when used the first time.
|
|
|
|
|
|
<h3>PostgreSQL</h3>
|
|
|
-
|
|
|
-In case you use a PostgreSQL database, you will need to specify the
|
|
|
-TGIS database connection for each mapset.
|
|
|
-
|
|
|
+In case you use a PostgreSQL database, you will need to specify the TGIS database connection
|
|
|
+for each mapset.
|
|
|
<div class="code"><pre>
|
|
|
t.connect driver=pg database="dbname=grass_test user=soeren password=abcdefgh"
|
|
|
t.connect -p
|