[GRASS-SVN] r31796 - in grass-addons/raster/r.rast4d: . globals

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 22 03:27:37 EDT 2008


Author: neteler
Date: 2008-06-22 03:27:36 -0400 (Sun, 22 Jun 2008)
New Revision: 31796

Modified:
   grass-addons/raster/r.rast4d/QuickStart.txt
   grass-addons/raster/r.rast4d/TODO
   grass-addons/raster/r.rast4d/globals/defines.sh
Log:
store DB file in MAPSET instead of locally

Modified: grass-addons/raster/r.rast4d/QuickStart.txt
===================================================================
--- grass-addons/raster/r.rast4d/QuickStart.txt	2008-06-22 06:28:22 UTC (rev 31795)
+++ grass-addons/raster/r.rast4d/QuickStart.txt	2008-06-22 07:27:36 UTC (rev 31796)
@@ -1,13 +1,16 @@
+TIME SERIES SUPPORT FOR GRASS RASTER MAPS
+
+REQUIREMENTS
 You need:
- - grass63
+ - >= grass63
  - sqlite3
- - a valid grass location
+ - a valid GRASS location
 and the will to read sql and bash code if an error occures :)
 
+
+USAGE
 Be sure you are in a GRASS location!
-Stay in the directory containing the QuickStart file you are reading now,
-this is very important!
-The sqlite3 database will be created in the ./db/ directory.
+The sqlite3 database will be created in the LOCATION/MAPSET/rast4d_db/ directory.
 Use a graphical frontend to explore the database structure or read the 
 code in the sql directory (e.g., sqlitebrowser or the Firefox SQLite addon).
 
@@ -15,7 +18,7 @@
 Start r.rast4d.init to create the database,
 - if the database already exists, nothing will be performed
 - if you want to create a new database just remove the one in 
-  the ./db/ directory and run r.rast4d.init again
+  the MAPSET/rast4d_db/ directory and run r.rast4d.init again
 
 * tg.update
 Use tg.update to register/update your raster maps in the sqlite table.

Modified: grass-addons/raster/r.rast4d/TODO
===================================================================
--- grass-addons/raster/r.rast4d/TODO	2008-06-22 06:28:22 UTC (rev 31795)
+++ grass-addons/raster/r.rast4d/TODO	2008-06-22 07:27:36 UTC (rev 31796)
@@ -7,4 +7,4 @@
  t.unregister -- unregister raster maps from temporal datatypes (temporal raster map)
 
 See also: lib/TODO
-
+          sql/TODO

Modified: grass-addons/raster/r.rast4d/globals/defines.sh
===================================================================
--- grass-addons/raster/r.rast4d/globals/defines.sh	2008-06-22 06:28:22 UTC (rev 31795)
+++ grass-addons/raster/r.rast4d/globals/defines.sh	2008-06-22 07:27:36 UTC (rev 31796)
@@ -1,13 +1,15 @@
 #!/bin/sh
 
-#definitions
-export GRAST4D_BASE="`pwd`"
-export GRAST4D_DB_DIR="$GRAST4D_BASE/db"
-
 ### setup enviro vars ###
 eval `g.gisenv`
 : ${GISBASE?} ${GISDBASE?} ${LOCATION_NAME?} ${MAPSET?}
 
+#definitions
+#export GRAST4D_BASE="`pwd`"
+export GRAST4D_BASE=${GISDBASE}/${LOCATION_NAME}/${MAPSET}
+export GRAST4D_DB_DIR="$GRAST4D_BASE/rast4d_db"
+
+##############################à
 export GRAST4D_BIN_DIR="${GISBASE}/etc/r.rast4d/bin"
 export GRAST4D_LIB_DIR="${GISBASE}/etc/r.rast4d/lib"
 export GRAST4D_SQL_DIR="${GISBASE}/etc/r.rast4d/sql"



More information about the grass-commit mailing list