[GRASS-SVN] r51785 - grass/trunk/raster/r.lake

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 26 10:09:12 EDT 2012


Author: neteler
Date: 2012-05-26 07:09:12 -0700 (Sat, 26 May 2012)
New Revision: 51785

Modified:
   grass/trunk/raster/r.lake/
   grass/trunk/raster/r.lake/r.lake.html
Log:
example added


Property changes on: grass/trunk/raster/r.lake
___________________________________________________________________
Modified: svn:ignore
   - OBJ.*

   + OBJ.*
*.tmp.html


Modified: grass/trunk/raster/r.lake/r.lake.html
===================================================================
--- grass/trunk/raster/r.lake/r.lake.html	2012-05-26 14:08:45 UTC (rev 51784)
+++ grass/trunk/raster/r.lake/r.lake.html	2012-05-26 14:09:12 UTC (rev 51785)
@@ -71,12 +71,37 @@
   <li>The entire map is loaded into RAM.</li>
   <li>The module is NOT large file safe. (due to the previous point)</li>
   <li>A completely negative seed map will not work! At least one cell must have 
-  a value >0. Output from <em>r.lake -n</em> can NOT be used as input in the next run.</li>
+  a value &gt; 0. Output from <em>r.lake -n</em> can NOT be used as input in the next run.</li>
 </ul>
 
+<h2>EXAMPLE</h2>
+
+Example of small flooding along a street (North Carolina sample dataset):
+
+<div class="code"><pre>
+g.region rast=elev_lid792_1m -p
+
+# water accumulation next to street dam
+r.lake elev_lid792_1m xy=638759.3,220264.1 wl=113.4 lake=flooding
+
+# draw resulting lake map over shaded terrain map
+r.shaded.relief elev_lid792_1m
+d.rast elev_lid792_1m.shade
+d.rast -o flooding
+d.vect streets_wake 
+d.vect bldg_cmcl_pol type=area
+</pre></div>
+
+<p>
+<center>
+<img src="r_lake_lidar_dem.png" border=1><br>
+Small flooding along a street (<em>r.lake</em>, using Lidar 1m DEM)
+</center>
+
 <h2>SEE ALSO</h2>
 
-<em><a href="r.mapcalc.html">r.mapcalc</a>,
+<em>
+<a href="r.mapcalc.html">r.mapcalc</a>,
 <a href="r.grow.html">r.grow</a>,
 <a href="r.plane.html">r.plane</a></em>
 



More information about the grass-commit mailing list