[GRASS-SVN] r67729 - grass-addons/grass7/raster/r.traveltime

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 5 06:09:12 PST 2016


Author: mlennert
Date: 2016-02-05 06:09:12 -0800 (Fri, 05 Feb 2016)
New Revision: 67729

Added:
   grass-addons/grass7/raster/r.traveltime/r_traveltime.png
Modified:
   grass-addons/grass7/raster/r.traveltime/r.traveltime.html
Log:
Some clean-up of example and addition of image


Modified: grass-addons/grass7/raster/r.traveltime/r.traveltime.html
===================================================================
--- grass-addons/grass7/raster/r.traveltime/r.traveltime.html	2016-02-05 13:53:42 UTC (rev 67728)
+++ grass-addons/grass7/raster/r.traveltime/r.traveltime.html	2016-02-05 14:09:12 UTC (rev 67729)
@@ -29,25 +29,27 @@
 The program does not work correctly if Manning's roughness grid is
 defined as double (float expected). To define a simple uniform
 roughness distribution try: r.mapcalc 'roughness = 0.1f'
-<br>
-The region has to be set one row and column larger than the elevation
-map. See the example below to see how to do that with g.region.
 
-
 <h2>EXAMPLE</h2>
 <i>This example uses the North Carolina sample dataset.</i>
 <p>
 <div class="code"><pre>
 g.region raster=elevation
-r.mapcalc "n=0.1f"
-r.fill.dir input=elevation output=fill outdir=flowdir format=agnps
-r.fill.dir input=fill output=fill2 outdir=flowdir2 format=agnps
+r.mapcalc "n = 0.1f"
+r.fill.dir input=elevation output=fill direction=flowdir format=agnps
+r.fill.dir input=fill output=fill2 direction=flowdir2 format=agnps
 r.watershed -a -s elevation=fill2 accumulation=accu
-r.traveltime --overwrite dir=flowdir2 accu=accu dtm=fill2 manningsn=n
-	out_x=634613 out_y=217014 threshold=250 b=3 nchannel=0.03 slopemin=0.01
+r.traveltime --overwrite dir=flowdir2 accu=accu dtm=fill2 manningsn=n \
+	out_x=634613 out_y=217014 threshold=250 b=3 nchannel=0.03 slopemin=0.01 \
 	dis=900 out=ttime
+r.colors ttime colors=blues
 </pre></div>
 
+<center>
+        <img src="r_traveltime.png" border="1"><br>
+</center>
+
+
 <h2>SEE ALSO</h2>
 <em>
 <a href="r.watershed.html">r.watershed</a>,

Added: grass-addons/grass7/raster/r.traveltime/r_traveltime.png
===================================================================
(Binary files differ)


Property changes on: grass-addons/grass7/raster/r.traveltime/r_traveltime.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the grass-commit mailing list