فهرست منبع

r.vievshed and r.terraflow: NC example to manual and image to manual

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58438 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 11 سال پیش
والد
کامیت
da1a3ababf

+ 23 - 0
raster/r.terraflow/r.terraflow.html

@@ -149,6 +149,29 @@ statistics (stats) of the run. The default name is <tt>stats.out</tt>
 
 <h2>EXAMPLES</h2>
 
+Example for small area in NC dataset:
+<div class="code"><pre>
+g.region rast=elev_lid792_1m
+r.terraflow elevation=elev_lid792_1m filled=elev_lid792_1m_filled \
+    direction=elev_lid792_1m_direction swatershed=elev_lid792_1m_swatershed \
+    accumulation=elev_lid792_1m_accumulation tci=elev_lid792_1m_tci
+</pre></div>
+
+<div align="center" style="margin: 10px">
+<img src="rterraflow_accumulation.png" border=0><br>
+<i>Flow accumulation</i>
+</div>
+<!--
+image generated using
+d.mon wx0
+d.rast elev_lid792_1m
+d.rast elev_lid792_1m_accumulation
+save image to files
+crop the background using Gimp or ImageMagic
+mogrify -trim *.png
+some bounding box problems noticed when opening mogrify result in Gimp
+-->
+
 Spearfish sample data set:
 
 <div class="code"><pre>

BIN
raster/r.terraflow/rterraflow_accumulation.png


+ 24 - 2
raster/r.viewshed/r.viewshed.html

@@ -172,6 +172,28 @@ REFERENCES below.
 
 <h3>An example:</h3>
 
+Compute viewshed from the point with coordinates 638728.087167, 220609.261501
+which is 5 meters above ground (using NC dataset):
+
+<div class="code"><pre>
+g.region rast=elev_lid792_1m
+r.viewshed input=elev_lid792_1m output=elev_lid792_1m_viewshed coordinates=638728.087167,220609.261501 obs_elev=5
+</pre></div>
+
+<div align="center" style="margin: 10px">
+<img src="r.viewshed.png" border=0><br>
+<i>Flow accumulation</i>
+</div>
+<!--
+image generated using
+d.mon wx0
+d.rast elev_lid792_1m
+d.rast elev_lid792_1m_viewshed
+save image to files
+crop the background using Gimp or ImageMagic
+mogrify -trim *.png
+some bounding box problems noticed when opening mogrify result in Gimp
+-->
 
 Using the Spearfish dataset:  calculating the viewpoint from the top
 of a mountain:
@@ -187,8 +209,8 @@ r.viewshed input=elevation.10m output=viewshed coordinate=598869,4916642 mem=800
 <ul>
 
    <li>Computing Visibility on Terrains in External Memory. Herman
-	 Haverkort, Laura Toma and Yi Zhuang. To appear in <em>ACM Journal
-	 on Experimental Algorithmics</em>.
+	 Haverkort, Laura Toma and Yi Zhuang. In <em>ACM Journal
+	 on Experimental Algorithmics (JEA)</em> 13 (2009).
 	 
 	 <li><a
 	 href="http://www.siam.org/proceedings/alenex/2007/alx07_002haverkorth.pdf">

BIN
raster/r.viewshed/r.viewshed.png