[GRASSweb-list]markus: web/grass57/tutorial attrib_storage.html,1.21,1.22 demo.html,1.13,1.14 ex_basic.html,1.16,1.17 geom_storage.html,1.24,1.25 index.html,1.28,1.29 links.html,1.16,1.17

grass at intevation.de grass at intevation.de
Wed May 19 11:19:16 EDT 2004


Author: markus

Update of /grassrepository/web/grass57/tutorial
In directory doto:/tmp/cvs-serv3431/grass57/tutorial

Modified Files:
	attrib_storage.html demo.html ex_basic.html geom_storage.html 
	index.html links.html 
Log Message:
update grass51/ -> grass57

Index: attrib_storage.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/attrib_storage.html,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- attrib_storage.html	20 Apr 2004 09:42:32 -0000	1.21
+++ attrib_storage.html	19 May 2004 15:19:14 -0000	1.22
@@ -84,9 +84,9 @@
 <li>DBF: driver=dbf<br>
          database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
 <li>ODBC: driver=odbc<br>
-         database=grass51test
+         database=grass57test
 <li>PostgreSQL: driver=pg<br>
-         database='host=pgserver.itc.it,dbname=grass51test,user=name'
+         database='host=pgserver.itc.it,dbname=grass57test,user=name'
 <li>mySQL: driver=mysql<br>
          database=?
 </ul>
@@ -177,7 +177,7 @@
 
 Example: Connection of SHAPE file with attributes in PostgreSQL table which
 get's connected through ODBC to GRASS 5.7. The name of the PostgreSQL
-database is 'grass51test' which contains the imported DBF file as table
+database is 'grass57test' which contains the imported DBF file as table
 'markveggy'.
 <p>
 
@@ -199,12 +199,12 @@
 appears twice and also for the PostgreSQL protocol version]. Omit blanks at
 the beginning of lines:</li>
 
-<div class="code"><pre>&nbsp;[grass51test]
+<div class="code"><pre>&nbsp;[grass57test]
 &nbsp;Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = PostgreSQL
 &nbsp;Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = PostgreSQL
 &nbsp;Trace&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = No
 &nbsp;TraceFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-&nbsp;Database&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = grass51test
+&nbsp;Database&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = grass57test
 &nbsp;Servername&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = localhost
 &nbsp;UserName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = neteler
 &nbsp;Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
@@ -230,22 +230,22 @@
 <li>
 Now create a new database if not yet existing:
 <div class="code"><pre>
-db.createdb driver=odbc database=grass51test
+db.createdb driver=odbc database=grass57test
 </pre></div>
 
 <li>Now store the table 'markveggy.dbf' (in current directory) into PostgreSQL
 through ODBC:
 <div class="code"><pre>
-db.connect driver=odbc database=grass51test
+db.connect driver=odbc database=grass57test
 db.copy from_driver=dbf from_database=./ from_table=markveggy \
- to_driver=odbc to_database=grass51test to_table=markveggy
+ to_driver=odbc to_database=grass57test to_table=markveggy
 </pre></div>
 
 <li> Next link map to attribute table:
 
 <div class="code"><pre>
 v.db.connect map=markveggy.shp table=markveggy key=VEGCNP_ID \
-             database=grass51test driver=odbc
+             database=grass57test driver=odbc
 v.db.connect -p
 </pre></div>
 
@@ -289,15 +289,15 @@
 assume that PostgreSQL runs on machine 'pgserver':
 
 <div class="code"><pre>
-db.connect driver=pg database="host=pgserver,dbname=grass51test,user=neteler"
-createdb -h pgserver grass51test
-<!-- not yet: db.createdb driver=pg database=grass51test -->
+db.connect driver=pg database="host=pgserver,dbname=grass57test,user=neteler"
+createdb -h pgserver grass57test
+<!-- not yet: db.createdb driver=pg database=grass57test -->
 </pre></div>
 
 Now store the table 'markveggy.dbf' into PostgreSQL:
 <div class="code"><pre>
 db.copy from_driver=dbf from_database=./ from_table=markveggy \
- to_driver=pg to_database="host=pgserver,dbname=grass51test,user=neteler" \
+ to_driver=pg to_database="host=pgserver,dbname=grass57test,user=neteler" \
  to_table=markveggy
 </pre></div>
 This will open a password dialog for the PostgreSQL database.
@@ -305,7 +305,7 @@
 Next we link the vector geometry to the attributes table:
 <div class="code"><pre>
 v.db.connect map=markveggy.shp table=markveggy key=VEGCNP_ID \
-             database='pgserver,dbname=grass51test,user=neteler' driver=pg
+             database='pgserver,dbname=grass57test,user=neteler' driver=pg
 </pre></div>
 
 Connect GRASS 5.7 to the table:
@@ -314,7 +314,7 @@
 db.describe -c markveggy
 </pre></div>
 
-If, depending on the security settings of the PG database 'grass51test' a
+If, depending on the security settings of the PG database 'grass57test' a
 password is required, a pop-up dialog window will ask you (alternatively you
 could supply ',password=secretword' in the 'database' parameter of
 'v.db.connect' and 'db.connect', which is not recommended for security

Index: demo.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/demo.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- demo.html	1 Mar 2004 08:29:19 -0000	1.13
+++ demo.html	19 May 2004 15:19:14 -0000	1.14
@@ -46,7 +46,7 @@
 <tt>./tour</tt> shell script (example):
 
 <div class="code"><pre>    
-grass51 /home/username/grassdata51/g51test-8/test/
+grass57 /home/username/grassdata51/g51test-8/test/
 </pre></div>
 
 After entering GRASS, change into the LOCATION directory and start the demo

Index: ex_basic.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/ex_basic.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ex_basic.html	1 Mar 2004 08:29:19 -0000	1.16
+++ ex_basic.html	19 May 2004 15:19:14 -0000	1.17
@@ -306,7 +306,7 @@
 how to connect attribute tables):</b><p>
 
 <div class="code"><pre>
-#Select from table 'markveggy' (in database 'grass51test') all rows where 'VEGTYPE = "IFA"':
+#Select from table 'markveggy' (in database 'grass57test') all rows where 'VEGTYPE = "IFA"':
 #NOTE: string attributes must be quoted:
 echo "select VEGCNP_ID from markveggy where VEGTYPE = 'IFA'" | db.select -hc
 
@@ -407,7 +407,7 @@
 
 <div class="code"><pre>
 db.copy from_driver=dbf from_database=./ from_table=census1990wet \
- to_driver=pg to_database="host=pgserver,dbname=grass51test" \
+ to_driver=pg to_database="host=pgserver,dbname=grass57test" \
  to_table=census1990wetB
 </pre></div>
 
@@ -416,7 +416,7 @@
 
 <div class="code"><pre>
 psql -h pgserver
-grass51test=> select count(*) from census1990wetB;
+grass57test=> select count(*) from census1990wetB;
 </pre></div>
 
 This may take some time depending on network speed and table size.

Index: geom_storage.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/geom_storage.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- geom_storage.html	1 Mar 2004 08:29:19 -0000	1.24
+++ geom_storage.html	19 May 2004 15:19:14 -0000	1.25
@@ -75,7 +75,7 @@
 <ul>
 <li>native: (nothing else to be selected/filled)
 <li>PostGIS: <br>
-         database='host=pgserver.itc.it,dbname=grass51test,user=name'
+         database='host=pgserver.itc.it,dbname=grass57test,user=name'
 <li>SHAPE: This can be used to register a SHAPE into a MAPSET<br>
    Select SHAPE file with 'Browse'
 </ul>
@@ -273,7 +273,7 @@
 
   <div class="code"><pre>
   #define the connection for the db.* tools:
-  db.connect driver=pg database="host=pgserver,dbname=grass51test,user=neteler"
+  db.connect driver=pg database="host=pgserver,dbname=grass57test,user=neteler"
 
   #check if connection is established:
   echo "select * from pat_centraline " | db.select
@@ -289,7 +289,7 @@
 
   #link map to attribute table
   v.db.connect map=pat_centraline table=pat_centraline key=codice \
-             database="host=pgserver,dbname=grass51test,user=neteler" driver=pg
+             database="host=pgserver,dbname=grass57test,user=neteler" driver=pg
   v.db.connect -p pat_centraline
   </pre></div>
 -->

Index: index.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/index.html,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- index.html	1 Mar 2004 08:29:19 -0000	1.28
+++ index.html	19 May 2004 15:19:14 -0000	1.29
@@ -53,7 +53,7 @@
 </font>
 <input type=hidden name=config value=htdig>
 <input type=hidden name=exclude value="">
-<input type=hidden name=restrict value="grass51/tutorial/">
+<input type=hidden name=restrict value="grass57/tutorial/">
 <br>
 Search tutorial:
 <input type="text" size="30" name="words" value="">

Index: links.html
===================================================================
RCS file: /grassrepository/web/grass57/tutorial/links.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- links.html	22 Mar 2004 20:03:15 -0000	1.16
+++ links.html	19 May 2004 15:19:14 -0000	1.17
@@ -25,7 +25,7 @@
 <h3>Further Links to software/documents:</h3>
 
 <ul>
-<li> <a href=http://grass.itc.it/grass51/manuals/html57_user/>GRASS GIS 5.7 Reference Manual</a>
+<li> <a href=http://grass.itc.it/grass57/manuals/html57_user/>GRASS GIS 5.7 Reference Manual</a>
 </ul>
 
 <ul>





More information about the grass-web mailing list