[GRASS-SVN] r65408 - grass/branches/releasebranch_7_0/raster/r.profile
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 7 11:57:04 PDT 2015
Author: neteler
Date: 2015-06-07 11:57:04 -0700 (Sun, 07 Jun 2015)
New Revision: 65408
Modified:
grass/branches/releasebranch_7_0/raster/r.profile/r.profile.html
Log:
r.profile manual: examples tuning
Modified: grass/branches/releasebranch_7_0/raster/r.profile/r.profile.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.profile/r.profile.html 2015-06-07 18:56:26 UTC (rev 65407)
+++ grass/branches/releasebranch_7_0/raster/r.profile/r.profile.html 2015-06-07 18:57:04 UTC (rev 65408)
@@ -112,7 +112,7 @@
<h3>Extraction of values along profile defined by coordinates (variant 2)</h3>
-Coordinate pairs can also being "piped" into <em>r.profile</em>:
+Coordinate pairs can also being "piped" into <em>r.profile</em> (variant 2a):
<div class="code"><pre>
r.profile elevation resolution=1000 file=- << EOF
@@ -123,9 +123,21 @@
EOF
</pre></div>
-The output is the following:
+<p>
+Coordinate pairs can also being "piped" into <em>r.profile</em> (variant 2b):
<div class="code"><pre>
+echo "641712,226095
+641546,224138
+641546,222048
+641049,221186" > coors.txt
+cat coors.txt | r.profile elevation resolution=1000 file=-
+</pre></div>
+
+The output is printed into the terminal (unless the <em>output</em> parameter
+is used) and looks as follows:
+
+<div class="code"><pre>
Using resolution: 1000 [meters]
Output columns:
Along track dist. [meters], Elevation
More information about the grass-commit
mailing list