[GRASS-SVN] r59032 - grass/trunk/raster/r.profile
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 13 20:51:02 PST 2014
Author: wenzeslaus
Date: 2014-02-13 20:51:02 -0800 (Thu, 13 Feb 2014)
New Revision: 59032
Modified:
grass/trunk/raster/r.profile/r.profile.html
Log:
r.profile: remove -i flag from the rest of the documentation (following r59031)
Modified: grass/trunk/raster/r.profile/r.profile.html
===================================================================
--- grass/trunk/raster/r.profile/r.profile.html 2014-02-14 02:51:38 UTC (rev 59031)
+++ grass/trunk/raster/r.profile/r.profile.html 2014-02-14 04:51:02 UTC (rev 59032)
@@ -5,21 +5,24 @@
length (in meters) and raster value. The optional four column output consists
of easting, northing, cumlative profile length (m), and raster value. Profile
end or "turning" points can be set manually with the <b>profile</b>
-argument or selected interactively from the GRASS monitor by setting the
-<b>-i</b> flag. The profile resolution, or distance between profile
+argument. The profile resolution, or distance between profile
points, is obtained from the current region resolution, or can be manually
set with the <b>res</b> argument.
+
<p>The <b>profile</b> parameter can be set to comma separated geographic
coordinates for profile line endpoints.
Alternatively the coordinate pairs can be piped
from stdin, one comma separated pair per line.
+
<p>The <b>res</b> parameter sets the distance between each profile point
(resolution). The resolution must be provided in GRASS database units (i.e.
decimal degrees for Lat Long databases and meters for UTM). By default
<em>r.profile</em> uses the resolution of the current GRASS region.
+
<p>The <b>null</b> parameter can optionally be set to change the character
string representing null values.
+
<h2>OUTPUT FORMAT</h2>
The multi column output from <em>r.profile</em> is intended for easy use in
@@ -29,7 +32,7 @@
be piped direcly into this program.
<div class="code"><pre>
-r.profile -ig input=elev.rast | v.in.ascii output=elev.profile separator=space
+r.profile -g input=elevation profile=... | v.in.ascii output=elevation_profile separator=space
</pre></div>
The 2 column output is compatible with most plotting programs.
@@ -42,7 +45,7 @@
Extract a profile with coordinates provided on the command line:
<div class="code"><pre>
-r.profile input=elev.rast output=profile.pts profile=562517,7779433,562984,7779533,563875,7779800
+r.profile input=elevation output=profile_points profile=562517,7779433,562984,7779533,563875,7779800
</pre></div>
This will extract a profile along the track defined by the three coordinate
pairs.
@@ -50,18 +53,6 @@
<b>Example 2</b><br>
-Extract a profile by interactively selecting the profile route from the GRASS
-monitor:
-
-<div class="code"><pre>
-r.profile -i input=elev.rast output=profile.pts
-</pre></div>
-Use the left mouse button to select the profile route in the GRASS monitor. Use the
-right mouse button to end the profile.
-<p><br>
-
-
-<b>Example 3</b><br>
Extract a profile with coordinates provided from standard input or an external file:
<p>First create a points file with <em><a href="d.where.html">d.where</a></em>
@@ -88,7 +79,7 @@
<p><br>
-<b>Example 4</b><br>
+<b>Example 3</b><br>
Pipe coordinates into r.profile
<div class="code"><pre>
r.profile elevation.dem res=1000 << EOF
More information about the grass-commit
mailing list