[GRASS-SVN] r34892 - grass/trunk/raster/r.watershed/front

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 14 22:40:48 EST 2008


Author: hamish
Date: 2008-12-14 22:40:48 -0500 (Sun, 14 Dec 2008)
New Revision: 34892

Modified:
   grass/trunk/raster/r.watershed/front/r.watershed.html
Log:
updated r.terraflow comparison from Markus Metz (#398); some fixes of my own

Modified: grass/trunk/raster/r.watershed/front/r.watershed.html
===================================================================
--- grass/trunk/raster/r.watershed/front/r.watershed.html	2008-12-15 03:29:59 UTC (rev 34891)
+++ grass/trunk/raster/r.watershed/front/r.watershed.html	2008-12-15 03:40:48 UTC (rev 34892)
@@ -40,7 +40,7 @@
 <dd>Without this flag set, the entire analysis is run in memory
 maintained by the operating system.  This can be limiting, but is
 relatively fast.  Setting the flag causes the program to manage memory
-on disk which allows larger maps to be processes but is considerably
+on disk which allows larger maps to be processed but is considerably
 slower.
 
 <dt><em>memory</em> 
@@ -51,6 +51,7 @@
 <dt><em>-s</em> 
 
 <dd>Use single flow direction (SFD) instead of multiple flow direction (MFD).
+MFD is enabled by default.
 
 <dt><em>convergence</em> 
 
@@ -192,19 +193,19 @@
 
 <h4>A<sup>T</sup> least-cost search algorithm</h4>
 <em>r.watershed</em> uses an A<sup>T</sup> least-cost search algorithm 
-(see <a href="#references">REFERENCES</a> section) designed to minimize the 
-impact of DEM data errors. This algorithm works slower than 
-<em>r.terraflow</em> but provides more accurate results in 
-areas of low slope as well as DEMs constructed with techniques that 
-mistake canopy tops as the ground elevation. Kinner et al. (2005), for 
-example, used SRTM and IFSAR DEMs to compare <em>r.watershed</em> 
-against <em>r.terraflow</em> results in Panama. <em>r.terraflow</em> was 
-unable to replicate stream locations in the larger valleys while 
-<em>r.watershed</em> performed much better. Thus, if forest canopy exists 
-in valleys, SRTM, IFSAR, and similar data products will cause major 
-errors in <em>r.terraflow</em> stream output. Under similar conditions,
-<em>r.watershed</em> will generate better <b>stream</b> and <b>half_basin</b>
-results. If watershed divides contain flat to low slope, <em>r.watershed</em>
+(see <a href="#references">REFERENCES</a> section) designed to minimize 
+the impact of DEM data errors. Compared to <em>r.terraflow</em>, this 
+algorithm provides more accurate results in areas of low slope as well 
+as DEMs constructed with techniques that mistake canopy tops as the 
+ground elevation. Kinner et al. (2005), for example, used SRTM and IFSAR 
+DEMs to compare <em>r.watershed</em> against <em>r.terraflow</em> 
+results in Panama. <em>r.terraflow</em> was unable to replicate stream 
+locations in the larger valleys while <em>r.watershed</em> performed 
+much better. Thus, if forest canopy exists in valleys, SRTM, IFSAR, and 
+similar data products will cause major errors in <em>r.terraflow</em> 
+stream output. Under similar conditions, <em>r.watershed</em> will 
+generate better <b>stream</b> and <b>half_basin</b> results. If 
+watershed divides contain flat to low slope, <em>r.watershed</em>
 will generate better basin results than <em>r.terraflow</em>.
 (<em>r.terraflow</em> uses the same type of algorithm as ESRI's ArcGIS
 watershed software which fails under these conditions.) Also, if watershed
@@ -216,11 +217,13 @@
 <em><a href="r.drain.html">r.drain</a></em> on every cell on the map.
 
 <h4>Multiple flow direction (MFD)</h4>
-<p><em>r.watershed</em> has experimental support for multiple flow 
-direction (MFD). Water flow is distributed to all neighbouring cells with 
-lower elevation, using slope towards neighbouring cells as a weighing 
-factor for proportional distribution. The A<sup>T</sup> least-cost path 
-is always included and assigned the maxmimum observed weighing factor. 
+
+<em>r.watershed</em> offers two methods to calculate surface flow: 
+single flow direction (SFD, D8) and multiple flow direction (MFD). With 
+MFD, water flow is distributed to all neighbouring cells with lower 
+elevation, using slope towards neighbouring cells as a weighing factor 
+for proportional distribution. The A<sup>T</sup> least-cost path is 
+always included and assigned the maxmimum observed weighing factor. 
 As a result, depressions and obstacles are overflown with a gracefull 
 flow convergence before the overflow. The convergence factor causes flow 
 accumulation to converge more strongly with higher values. The supported 
@@ -230,7 +233,7 @@
 <br>See example below with the North Carolina dataset for using MFD mode.
 
 <h4>In-memory mode and disk swap mode</h4>
-<p>There are two versions of this program: <em>ram</em> and <em>seg</em>.
+There are two versions of this program: <em>ram</em> and <em>seg</em>.
 <em>ram</em> is used by default, <em>seg</em> can be used by setting 
 the <em>-m</em> flag.
 <br>
@@ -244,12 +247,14 @@
 Due to memory requirements of both programs, it is quite easy to run out of
 memory when working with huge map regions. If the <em>ram</em> version runs
 out of memory and the resolution size of the current geographic region
-cannot be increased, either more memory  needs to be added to the computer,
+cannot be increased, either more memory needs to be added to the computer,
 or the swap space size needs to be increased. If <em>seg</em> runs out of
 memory, additional disk space needs to be freed up for the program to run.
+The <em>r.terraflow</em> module was specifically designed with huge
+regions in mind and may be useful here as an alternative.
 
 <h4>Large regions with many cells</h4>
-<p>In some situations, the region size (number of cells) may be too large for
+In some situations, the region size (number of cells) may be too large for
 the amount of time or memory available. Running <em>r.watershed</em> may
 then require use of a coarser resolution. To make the results more closely
 resemble the finer terrain data, create a map layer containing the
@@ -266,7 +271,7 @@
 represents the minimum elevation within the region of the coarser cell.
 
 <h4>High-resolution elevation maps with floating point values</h4>
-<p>To get better results with high resolution elevation maps with 
+To get better results with high resolution elevation maps with 
 floating point values, it may be necessary to multiply the original map 
 with e.g. 100 to change elevation units from meters to cm, because 
 <em>r.watershed</em> reads input elevation maps as integer. This allows 
@@ -277,7 +282,7 @@
 convert elevation from meter to millimeter.
 
 <h4>Basin threshold</h4>
-<p>The minimum size of drainage basins, defined by the <em>threshold</em>
+The minimum size of drainage basins, defined by the <em>threshold</em>
 parameter, is only relevant for those watersheds with a single stream
 having at least the <em>threshold</em> of cells flowing into it.
 (These watersheds are called exterior basins.)
@@ -413,7 +418,8 @@
 <br>
 
 <i>This example uses the North Carolina sample dataset.</i>
-<p>Using MFD mode on a LIDAR elevation dataset:
+<p>
+Using MFD mode on a LIDAR elevation dataset:
 <br>Convert elevation values of elev_lid972_1m from meter to millimeter 
 then compare MFD mode with default medium flow convergence to SFD mode.
 <div class="code"><pre>



More information about the grass-commit mailing list