[GRASS-SVN] r58438 - in grass/trunk/raster: r.terraflow r.viewshed
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 10 13:54:52 PST 2013
Author: wenzeslaus
Date: 2013-12-10 13:54:52 -0800 (Tue, 10 Dec 2013)
New Revision: 58438
Added:
grass/trunk/raster/r.terraflow/rterraflow_accumulation.png
grass/trunk/raster/r.viewshed/r.viewshed.png
Modified:
grass/trunk/raster/r.terraflow/r.terraflow.html
grass/trunk/raster/r.viewshed/r.viewshed.html
Log:
r.vievshed and r.terraflow: NC example to manual and image to manual
Modified: grass/trunk/raster/r.terraflow/r.terraflow.html
===================================================================
--- grass/trunk/raster/r.terraflow/r.terraflow.html 2013-12-10 17:59:32 UTC (rev 58437)
+++ grass/trunk/raster/r.terraflow/r.terraflow.html 2013-12-10 21:54:52 UTC (rev 58438)
@@ -149,6 +149,29 @@
<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>
Added: grass/trunk/raster/r.terraflow/rterraflow_accumulation.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/raster/r.terraflow/rterraflow_accumulation.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: grass/trunk/raster/r.viewshed/r.viewshed.html
===================================================================
--- grass/trunk/raster/r.viewshed/r.viewshed.html 2013-12-10 17:59:32 UTC (rev 58437)
+++ grass/trunk/raster/r.viewshed/r.viewshed.html 2013-12-10 21:54:52 UTC (rev 58438)
@@ -172,7 +172,29 @@
<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 @@
<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">
Added: grass/trunk/raster/r.viewshed/r.viewshed.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/raster/r.viewshed/r.viewshed.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
More information about the grass-commit
mailing list