[GRASS-SVN] r29545 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 31 08:22:27 EST 2007


Author: neteler
Date: 2007-12-31 08:22:26 -0500 (Mon, 31 Dec 2007)
New Revision: 29545

Modified:
   grass/trunk/lib/init/grass6.html
   grass/trunk/lib/init/helptext.html
   grass/trunk/lib/init/variables.html
Log:
some wxgrass integration

Modified: grass/trunk/lib/init/grass6.html
===================================================================
--- grass/trunk/lib/init/grass6.html	2007-12-31 00:21:23 UTC (rev 29544)
+++ grass/trunk/lib/init/grass6.html	2007-12-31 13:22:26 UTC (rev 29545)
@@ -17,7 +17,7 @@
 <H2>SYNOPSIS</H2>
 
 <B>grass63</B> [<B>-</B>] [<B>-v</B>] [<B>-h | -help | --help</B>]
-    [<B>-text | -gui | -oldgui]</B>]
+    [<B>-text | -gui | -tcltk | -wx]</B>]
     [[[<B>&lt;GISDBASE&gt;/</B>]<B>&lt;LOCATION_NAME&gt;/</B>]
     	<B>&lt;MAPSET&gt;</B>]
 
@@ -42,7 +42,7 @@
 and mapset.
 
 <P>
-If you specify a graphical user interface (eg Tcl/Tk) the <EM>grass63</EM>
+If you specify a graphical user interface (Tcl/Tk or wxPython), the <EM>grass63</EM>
 program will try to verify that the system you specified exists and that you
 can access it successfully. If any of these checks fail, then <EM>grass63</EM>
 will automatically switch back to the text user interface mode.
@@ -68,8 +68,8 @@
 <DT><B>-gui</B> (or <B>-tcltk</B>)
 <DD> Indicates that the Tcl/Tk based graphical user interface should be used
 
-<DT><B>-oldgui</B>
-<DD> Indicates that the old graphical user interface should be used (d.m)
+<DT><B>-wx</B>
+<DD> Indicates that the new Python based graphical user interface should be used (wxgrass)
 
 <DT><B>-v</B> <B>--version</B>
 <DD> Prints the version for GRASS
@@ -81,7 +81,7 @@
 <DL>
 <DT><B>GISDBASE</B>
 <DD> Initial database directory which should be a fully qualified path
-    (eg /usr/local/share/grassdata)
+    (e.g., /usr/local/share/grassdata)
 
 <DT><B>LOCATION_NAME</B>
 <DD> Initial location directory which is a subdirectory of GISDBASE
@@ -106,8 +106,8 @@
 variable called GRASS_GUI which indicates the type of user interface for
 GRASS to use. If this variable is not set when <EM>grass63</EM> is run, then
 it will be created and then saved in the $HOME/.grassrc6 file for the next
-time GRASS is run. In addition to "text" or "tcltk", the GRASS_GUI variable
-can be set to the name of the GUI to use, for example "gis.m" or "d.m".
+time GRASS is run. In addition to "text", "tcltk" or "wx", the GRASS_GUI variable
+can be set to the name of the GUI to use, for example "gis.m" or "wxgrass".
 
 <P>
 There is an order of precedence in the way <EM>grass63</EM> determines the user
@@ -145,6 +145,9 @@
 <DT><B>GRASS_WISH</B>
 <DD> Command to use to override wish
 
+<DT><B>GRASS_PYTHON</B>
+<DD> Command to use to override python
+
 </DL>
 
 <H4>Example Use of GRASS Tcl/Tk Environment Variables</H4>
@@ -342,7 +345,8 @@
 
 <H2>FILES</H2>
 
-<EM>$UNIX_BIN/grass63</EM> - GRASS startup program<BR><BR>
+<EM>$UNIX_BIN/grass63</EM> - GRASS startup program (Linux, MacOSX etc.)<BR><BR>
+<EM>$WINDOWS_BIN/grass63.bat</EM> - GRASS startup program (MS-Windows)<BR><BR>
 <EM>$GISBASE/etc/Init.sh</EM> - GRASS initialization script called by
     <EM>grass63</EM><BR><BR>
 <EM>$GISBASE/etc/gis_set.tcl</EM> - Tcl/Tk script to set the

Modified: grass/trunk/lib/init/helptext.html
===================================================================
--- grass/trunk/lib/init/helptext.html	2007-12-31 00:21:23 UTC (rev 29544)
+++ grass/trunk/lib/init/helptext.html	2007-12-31 13:22:26 UTC (rev 29545)
@@ -36,11 +36,13 @@
 time with a new LOCATION.
 <p>
 Each LOCATION can have many MAPSETs. Each MAPSET is a LOCATION's
-subdirectory. New MAPSET can be added at Grass startup. To remove a
-MAPSET, remove it's directory using your file manager or by <tt>rm
--rf /path/to/the/mapset_to_delete</tt>.
+subdirectory. New MAPSET can be added at GRASS startup. To remove a
+MAPSET, remove it's directory using your file manager or by <br>
+<tt>rm -rf /path/to/the/mapset_to_delete</tt>. The 'wxgrass' graphical
+user interface provides options to rename/remove LOCATIONs and MAPSETs.
+
 <p>
-One motivation to maintain different mapsets is to store maps
+One motivation to maintain different MAPSETs is to store maps
 related to project issues or subregions. Another motivation is to
 support simultaneous access of several users to the map layers
 stored within the same LOCATION, i.e. teams working on the same
@@ -79,20 +81,23 @@
 <LI> Find a place on your disk where you have write access and that
     has enough diskspace to hold your decompressed data.</LI>
 <LI> Create a subdirectory that will hold the general GRASS database
-    (e.g. <tt>mkdir /data/GRASSDATA</tt> or 
-    <tt>mkdir /home/yourlogin/GRASSDATA</tt>).</LI>
+    (e.g. <tt>mkdir /data/grassdata</tt> or 
+    <tt>mkdir /home/yourlogin/grassdata</tt>).</LI>
 </OL>
 
 <P>
-Sample data such as the Spearfish sample dataset may be downloaded from
-<A HREF="http://grass.itc.it/download/data.php">http://grass.itc.it/download/data.php</A>
-and placed in the new database directory.
+Sample data such as the Spearfish or the North Carolina sample datasets
+may be downloaded from 
+<A HREF="http://grass.osgeo.org/download/data.php">http://grass.osgeo.org/download/data.php</A>
+and placed in this new database directory.
 <P>
 
+<h3>A) Create New Location with text screen</h3>
 Click on the "Create New Location" button, which will take you to a
 text screen on which you can enter a new location name, and then
 continue by pressing "ESC"-"RETURN" - i.e. press (NOT hold) the ESC key,
 and then press the RETURN key on your keyboard.
+
 <P>
 Next you will need to assign parameters to the location such
 as the coordinate system and datum you want to use, the project area's
@@ -148,10 +153,19 @@
 created. You have "arrived" in the GRASS system and can start working
 within this new location.
 
+<h3>B) Create New Location with text screen</h3>
+The "wxgrass" graphical user interface provides a graphical "Location Wizard"
+instead which let's you easily create a new LOCATION. You will be
+guided through a series of dialogues to browse and select
+predefined projections (also via EPSG code) or to define individual
+projections. The rules to define the resolution as described above
+also apply here.
+
+
 <H2>Further Reading</H2>
 
-Please have a look at the GRASS web site: 
-<A HREF="http://grass.itc.it/gdp/index.php">http://grass.itc.it/gdp/index.php</A>.
+Please have a look at the GRASS web site for tutorials and books:
+<A HREF="http://grass.osgeo.org/gdp/index.php">http://grass.osgeo.org/gdp/index.php</A>.
 
 <H2>See also</H2>
 

Modified: grass/trunk/lib/init/variables.html
===================================================================
--- grass/trunk/lib/init/variables.html	2007-12-31 00:21:23 UTC (rev 29544)
+++ grass/trunk/lib/init/variables.html	2007-12-31 13:22:26 UTC (rev 29545)
@@ -191,6 +191,10 @@
 <br>[shell scripts on Windows]
 <br>Path to bourne shell interpreter used to run shell scripts
 
+<p>GRASS_PYTHON
+<br>[wxgrass]
+<br>&nbsp; set to override 'python'
+
 <p>GRASS_TCLSH
 <br>[nviz]
 <br>&nbsp; set tclsh shell name to override 'tclsh'



More information about the grass-commit mailing list