[GRASS-SVN] r51784 - grass/branches/develbranch_6/raster/r.lake

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 26 10:08:45 EDT 2012


Author: neteler
Date: 2012-05-26 07:08:45 -0700 (Sat, 26 May 2012)
New Revision: 51784

Added:
   grass/branches/develbranch_6/raster/r.lake/r_lake_lidar_dem.jpg
Modified:
   grass/branches/develbranch_6/raster/r.lake/
   grass/branches/develbranch_6/raster/r.lake/description.html
Log:
example added


Property changes on: grass/branches/develbranch_6/raster/r.lake
___________________________________________________________________
Modified: svn:ignore
   - *.tmp.html
*OBJ*

   + OBJ.*
*.tmp.html


Modified: grass/branches/develbranch_6/raster/r.lake/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.lake/description.html	2012-05-26 14:08:09 UTC (rev 51783)
+++ grass/branches/develbranch_6/raster/r.lake/description.html	2012-05-26 14:08:45 UTC (rev 51784)
@@ -75,12 +75,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>
 

Added: grass/branches/develbranch_6/raster/r.lake/r_lake_lidar_dem.jpg
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/raster/r.lake/r_lake_lidar_dem.jpg
___________________________________________________________________
Added: svn:mime-type
   + image/jpeg



More information about the grass-commit mailing list