|
@@ -72,11 +72,11 @@ each cell.
|
|
|
<b>d8cut</b> option, then
|
|
|
the flow of this cell is routed to its neighbors using the SFD (D8)
|
|
|
model. This option affects only the flow accumulation raster and is
|
|
|
-meaningful only for MFD flow (i.e. if the -s flag is not used); If
|
|
|
+meaningful only for MFD flow (i.e. if the <b>-s</b> flag is not used); If
|
|
|
this option is used for SFD flow it is ignored. The default value of
|
|
|
<b>d8cut</b> is <i>infinity</i>.
|
|
|
|
|
|
-<p><em>r.terraflow</em> also computes the tci raster (topographic convergence
|
|
|
+<p><em>r.terraflow</em> also computes the <b>tci</b> raster (topographic convergence
|
|
|
index, defined as the logarithm of the ratio of flow accumulation and
|
|
|
local slope).
|
|
|
|
|
@@ -96,7 +96,7 @@ columns) in the elevation raster (more precisely, 80K bytes, where K
|
|
|
is the number of valid (not no-data) cells in the input elevation
|
|
|
raster).
|
|
|
<p>All these intermediate temporary files are stored in the path specified
|
|
|
-by the <b>STREAM_DIR</b> option. Note: <b>STREAM_DIR</b> must contain
|
|
|
+by the <b>directory</b> option. Note: <b>directory</b> must contain
|
|
|
enough free disk space in order to store up to 2 x 80N bytes.
|
|
|
|
|
|
<p>The <b>memory</b> option can be used to set the maximum amount of main
|
|
@@ -118,8 +118,7 @@ compiled to store elevations internally as floats. Other versions can be
|
|
|
created by the user if needed.
|
|
|
|
|
|
<p>Hints concerning compilation with storage of elevations internally as
|
|
|
-shorts:
|
|
|
-<br>such a version uses less space (up to 60B per cell, up
|
|
|
+shorts: such a version uses less space (up to 60B per cell, up
|
|
|
to 60N intermediate file) and therefore is more space and time
|
|
|
efficient. <em>r.terraflow</em> is intended for use with floating
|
|
|
point raster data (FCELL), and <em>r.terraflow (short)</em> with integer
|
|
@@ -147,12 +146,10 @@ identical for integer raster data (CELL maps).
|
|
|
|
|
|
<h2>EXAMPLES</h2>
|
|
|
|
|
|
-Example for small area in North Carolina sample dataset:
|
|
|
+Example for small area in North Carolina sample dataset to calculate flow accumulation:
|
|
|
<div class="code"><pre>
|
|
|
g.region raster=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
|
|
|
+r.terraflow elevation=elev_lid792_1m accumulation=elev_lid792_1m_accumulation
|
|
|
</pre></div>
|
|
|
|
|
|
<div align="center" style="margin: 10px">
|
|
@@ -189,6 +186,34 @@ r.terraflow elev=elevation.10m filled=elevation10m.filled \
|
|
|
</pre></div>
|
|
|
|
|
|
|
|
|
+<h2>REFERENCES</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li> The <a href="http://www.cs.duke.edu/geo*/terraflow/">TerraFlow</a> project at Duke University
|
|
|
+ <li><A NAME="arge:drainage"
|
|
|
+ HREF="http://www.cs.duke.edu/geo*/terraflow/papers/alenex00_drainage.ps.gz">
|
|
|
+ I/O-efficient algorithms for problems on grid-based
|
|
|
+ terrains</a>. Lars Arge, Laura Toma, and Jeffrey S. Vitter. In
|
|
|
+ <em>Proc. Workshop on Algorithm Engineering and Experimentation</em>,
|
|
|
+ 2000. To appear in <em>Journal of Experimental Algorithms</em>.
|
|
|
+
|
|
|
+ <li><A NAME="terraflow:acmgis01"
|
|
|
+ HREF="http://www.cs.duke.edu/geo*/terraflow/papers/acmgis01_terraflow.pdf">
|
|
|
+ Flow computation on massive grids</a>.
|
|
|
+ Lars Arge, Jeffrey S. Chase, Patrick N. Halpin, Laura Toma,
|
|
|
+ Jeffrey S. Vitter, Dean Urban and Rajiv Wickremesinghe. In
|
|
|
+ <em>Proc. ACM Symposium on Advances in Geographic Information
|
|
|
+ Systems</em>, 2001.
|
|
|
+
|
|
|
+ <li><A NAME="terraflow:geoinformatica"
|
|
|
+ HREF="http://www.cs.duke.edu/geo*/terraflow/papers/journal_terraflow.pdf">
|
|
|
+ Flow computation on massive grid terrains</a>.
|
|
|
+ Lars Arge, Jeffrey S. Chase, Patrick N. Halpin, Laura Toma,
|
|
|
+ Jeffrey S. Vitter, Dean Urban and Rajiv Wickremesinghe.
|
|
|
+ In <em>GeoInformatica, International Journal on
|
|
|
+ Advances of Computer Science for Geographic Information
|
|
|
+ Systems</em>, 7(4):283-313, December 2003.
|
|
|
+</ol>
|
|
|
|
|
|
<h2>SEE ALSO</h2>
|
|
|
|
|
@@ -202,8 +227,6 @@ r.terraflow elev=elevation.10m filled=elevation10m.filled \
|
|
|
<a href="r.watershed.html">r.watershed</a>
|
|
|
</em>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<h2>AUTHORS</h2>
|
|
|
|
|
|
<dl>
|
|
@@ -226,34 +249,4 @@ r.terraflow elev=elevation.10m filled=elevation10m.filled \
|
|
|
<dt>Contact: <a href="mailto:ltoma@bowdoin.edu "> Laura Toma</a></dt>
|
|
|
</dl>
|
|
|
|
|
|
-
|
|
|
-<h2>REFERENCES</h2>
|
|
|
-
|
|
|
-<ol>
|
|
|
- <li> The <a href="http://www.cs.duke.edu/geo*/terraflow/">TerraFlow</a> project at Duke University
|
|
|
- <li><A NAME="arge:drainage"
|
|
|
- HREF="http://www.cs.duke.edu/geo*/terraflow/papers/alenex00_drainage.ps.gz">
|
|
|
- I/O-efficient algorithms for problems on grid-based
|
|
|
- terrains</a>. Lars Arge, Laura Toma, and Jeffrey S. Vitter. In
|
|
|
- <em>Proc. Workshop on Algorithm Engineering and Experimentation</em>,
|
|
|
- 2000. To appear in <em>Journal of Experimental Algorithms</em>.
|
|
|
-
|
|
|
- <li><A NAME="terraflow:acmgis01"
|
|
|
- HREF="http://www.cs.duke.edu/geo*/terraflow/papers/acmgis01_terraflow.pdf">
|
|
|
- Flow computation on massive grids</a>.
|
|
|
- Lars Arge, Jeffrey S. Chase, Patrick N. Halpin, Laura Toma,
|
|
|
- Jeffrey S. Vitter, Dean Urban and Rajiv Wickremesinghe. In
|
|
|
- <em>Proc. ACM Symposium on Advances in Geographic Information
|
|
|
- Systems</em>, 2001.
|
|
|
-
|
|
|
- <li><A NAME="terraflow:geoinformatica"
|
|
|
- HREF="http://www.cs.duke.edu/geo*/terraflow/papers/journal_terraflow.pdf">
|
|
|
- Flow computation on massive grid terrains</a>.
|
|
|
- Lars Arge, Jeffrey S. Chase, Patrick N. Halpin, Laura Toma,
|
|
|
- Jeffrey S. Vitter, Dean Urban and Rajiv Wickremesinghe.
|
|
|
- In <em>GeoInformatica, International Journal on
|
|
|
- Advances of Computer Science for Geographic Information
|
|
|
- Systems</em>, 7(4):283-313, December 2003.
|
|
|
-</ol>
|
|
|
-
|
|
|
<p><i>Last changed: $Date$</i>
|