|
@@ -71,12 +71,37 @@ during single run.
|
|
<li>The entire map is loaded into RAM.</li>
|
|
<li>The entire map is loaded into RAM.</li>
|
|
<li>The module is NOT large file safe. (due to the previous point)</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
|
|
<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 > 0. Output from <em>r.lake -n</em> can NOT be used as input in the next run.</li>
|
|
</ul>
|
|
</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>
|
|
<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.grow.html">r.grow</a>,
|
|
<a href="r.plane.html">r.plane</a></em>
|
|
<a href="r.plane.html">r.plane</a></em>
|
|
|
|
|