|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
<h2>SYNOPSIS</h2>
|
|
|
|
|
|
-<b>grass71</b> [<b>-h</b> | <b>-help</b> | <b>--help</b>] [<b>-v</b> | <b>--version</b>]
|
|
|
+<b>grass73</b> [<b>-h</b> | <b>-help</b> | <b>--help</b>] [<b>-v</b> | <b>--version</b>]
|
|
|
[<b>-c</b> | <b>-c geofile</b> | <b>-c EPSG:code[:datum_trans]</b>]
|
|
|
[<b>-text</b> | <b>-gtext</b> | <b>-gui</b>]
|
|
|
[[[<b><GISDBASE>/</b>]<b><LOCATION_NAME>/</b>]
|
|
@@ -84,13 +84,13 @@ user interface, as well as the desired mapset to work on.
|
|
|
|
|
|
<p>The startup program will remember both the desired user interface
|
|
|
and mapset. Thus, the next time the user runs GRASS, typing
|
|
|
-<em>grass71</em> (without any options) will start GRASS with the
|
|
|
+<em>grass73</em> (without any options) will start GRASS with the
|
|
|
previous settings for the user interface and mapset selected.
|
|
|
|
|
|
<p>If you specify a graphical user interface (<b>-gui</b>)
|
|
|
-the <em>grass71</em> program will try to verify that the system you
|
|
|
+the <em>grass73</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>grass71</em> will automatically switch back
|
|
|
+these checks fail then <em>grass73</em> will automatically switch back
|
|
|
to the text user interface mode.
|
|
|
|
|
|
<h2>ENVIRONMENT VARIABLES</h2>
|
|
@@ -115,14 +115,14 @@ propagate).
|
|
|
|
|
|
<h3>User Interface Environment Variable</h3>
|
|
|
|
|
|
-<p>The <em>grass71</em> program will check for the existence of an
|
|
|
+<p>The <em>grass73</em> program will check for the existence of an
|
|
|
environment variable called GRASS_GUI which indicates the type of user
|
|
|
interface for GRASS to use. If this variable is not set
|
|
|
-when <em>grass71</em> is run, then it will be created and then saved
|
|
|
+when <em>grass73</em> is run, then it will be created and then saved
|
|
|
in the <tt>$HOME/.grass7/rc</tt> file for the next time GRASS is
|
|
|
run. It can be set to <tt>text</tt>, <tt>gtext</tt> or <tt>gui</tt>.
|
|
|
|
|
|
-<p>There is an order of precedence in the way <em>grass71</em>
|
|
|
+<p>There is an order of precedence in the way <em>grass73</em>
|
|
|
determines the user interface to use. The following is the hierarchy
|
|
|
from highest precedence to lowest.
|
|
|
<ol>
|
|
@@ -221,44 +221,44 @@ script. The script file must have its executable bit set.
|
|
|
<p>The following are some examples of how you could start GRASS
|
|
|
|
|
|
<dl>
|
|
|
-<dt><b>grass71</b>
|
|
|
+<dt><b>grass73</b>
|
|
|
<dd> Start GRASS using the default user interface. The user will be
|
|
|
prompted to choose the appropriate location and mapset.
|
|
|
|
|
|
-<dt><b>grass71 -gui</b>
|
|
|
+<dt><b>grass73 -gui</b>
|
|
|
<dd> Start GRASS using the graphical user interface. The user will be
|
|
|
prompted to choose the appropriate location and mapset.
|
|
|
|
|
|
-<dt><b>grass71 -text</b>
|
|
|
+<dt><b>grass73 -text</b>
|
|
|
<dd> Start GRASS using the text-based user interface. Appropriate
|
|
|
location and mapset must be set by environmental variables (see
|
|
|
examples below) otherwise taken from the last GRASS session.</dd>
|
|
|
|
|
|
-<dt><b>grass71 -gtext</b>
|
|
|
+<dt><b>grass73 -gtext</b>
|
|
|
<dd> Start GRASS using the text-based user interface. The user will be
|
|
|
prompted to choose the appropriate location and mapset.
|
|
|
|
|
|
-<dt><b>grass71 $HOME/grassdata/spearfish70/user1</b>
|
|
|
+<dt><b>grass73 $HOME/grassdata/spearfish70/user1</b>
|
|
|
<dd> Start GRASS using the default user interface and automatically
|
|
|
launch into the given mapset, bypassing the mapset selection menu.
|
|
|
|
|
|
-<dt><b>grass71 -gui -</b>
|
|
|
+<dt><b>grass73 -gui -</b>
|
|
|
<dd> Start GRASS using the graphical user interface and try to
|
|
|
obtain the location and mapset from environment variables.
|
|
|
|
|
|
-<dt><b>grass71 -c EPSG:4326 $HOME/grassdata/mylocation</b>
|
|
|
+<dt><b>grass73 -c EPSG:4326 $HOME/grassdata/mylocation</b>
|
|
|
<dd> Creates new GRASS location with EPSG code 4326 (latitude-longitude, WGS84)
|
|
|
in the specified GISDBASE
|
|
|
|
|
|
-<dt><b>grass71 -c EPSG:5514:3 $HOME/grassdata/mylocation</b>
|
|
|
+<dt><b>grass73 -c EPSG:5514:3 $HOME/grassdata/mylocation</b>
|
|
|
<dd> Creates new GRASS location with EPSG code 5514 (S-JTSK / Krovak
|
|
|
East North - SJTSK) with datum transformation parameters used in
|
|
|
Czech Republic in the specified GISDBASE
|
|
|
|
|
|
-<dt><b>grass71 -c myvector.shp $HOME/grassdata/mylocation</b>
|
|
|
+<dt><b>grass73 -c myvector.shp $HOME/grassdata/mylocation</b>
|
|
|
<dd> Creates new GRASS location based on georeferenced Shapefile
|
|
|
|
|
|
-<dt><b>grass71 -c myraster.tif $HOME/grassdata/mylocation</b>
|
|
|
+<dt><b>grass73 -c myraster.tif $HOME/grassdata/mylocation</b>
|
|
|
<dd> Creates new GRASS location based on georeferenced GeoTIFF file
|
|
|
</dl>
|
|
|
|
|
@@ -274,26 +274,26 @@ Region issues ignored.
|
|
|
Create a new Location based on a projection of a file:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 -c elevation.tiff -e .../grassdata/test1/
|
|
|
+grass73 -c elevation.tiff -e .../grassdata/test1/
|
|
|
</pre></div>
|
|
|
|
|
|
Link external raster data to PERMANENT Mapset:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 .../grassdata/test1/PERMANENT/ --exec r.external input=basins.tiff output=basins
|
|
|
-grass71 .../grassdata/test1/PERMANENT/ --exec r.external input=elevation.tiff output=elevation
|
|
|
+grass73 .../grassdata/test1/PERMANENT/ --exec r.external input=basins.tiff output=basins
|
|
|
+grass73 .../grassdata/test1/PERMANENT/ --exec r.external input=elevation.tiff output=elevation
|
|
|
</pre></div>
|
|
|
|
|
|
Get statistics for one raster map:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 .../grassdata/test1/PERMANENT/ --exec r.univar map=elevation
|
|
|
+grass73 .../grassdata/test1/PERMANENT/ --exec r.univar map=elevation
|
|
|
</pre></div>
|
|
|
|
|
|
Compare the rasters visually:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 .../grassdata/test1/PERMANENT/ --exec g.gui.mapswipe first=elevation second=basins
|
|
|
+grass73 .../grassdata/test1/PERMANENT/ --exec g.gui.mapswipe first=elevation second=basins
|
|
|
</pre></div>
|
|
|
|
|
|
|
|
@@ -317,7 +317,7 @@ MAPSET = PERMANENT
|
|
|
Start GRASS with the following command:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 -
|
|
|
+grass73 -
|
|
|
</pre></div>
|
|
|
|
|
|
GRASS will start with the mapset defined by LOCATION since the LOCATION
|
|
@@ -336,14 +336,14 @@ MAPSET = PERMANENT
|
|
|
Start GRASS with the following command:
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 -
|
|
|
+grass73 -
|
|
|
</pre></div>
|
|
|
|
|
|
GRASS will start with the mapset defined by
|
|
|
GISDBASE/LOCATION_NAME/MAPSET.
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 /usr/home/grass/data/thailand/forests
|
|
|
+grass73 /usr/home/grass/data/thailand/forests
|
|
|
</pre></div>
|
|
|
|
|
|
GRASS will start with the
|
|
@@ -351,7 +351,7 @@ mapset <tt>/home/grass/data/thailand/forests</tt> which overrides the
|
|
|
environment variables.
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 swamps
|
|
|
+grass73 swamps
|
|
|
</pre></div>
|
|
|
|
|
|
GRASS will start with the mapset defined by
|
|
@@ -359,7 +359,7 @@ GISDBASE/LOCATION_NAME/swamps since the command line argument for the
|
|
|
mapset overrides the environment variable MAPSET.
|
|
|
|
|
|
<div class="code"><pre>
|
|
|
-grass71 thailand/forests
|
|
|
+grass73 thailand/forests
|
|
|
</pre></div>
|
|
|
|
|
|
GRASS will start with the mapset defined by GISDBASE/thailand/forests
|