r.water.outlet.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <h2>DESCRIPTION</h2>
  2. <em>r.water.outlet</em> generates a watershed basin from a drainage
  3. direction map and a set of coordinates representing the outlet point
  4. of watershed.
  5. <p>
  6. Input drainage direction map indicates the &quot;aspect&quot; for each
  7. cell. Multiplying positive values by 45 will give the direction in
  8. degrees that the surface runoff will travel from that cell. The value
  9. -1 indicates that the cell is a depression area. Other negative values
  10. indicate that surface runoff is leaving the boundaries of the current
  11. geographic region. The absolute value of these negative cells
  12. indicates the direction of flow. This raster map is generated from
  13. <em><a href="r.watershed.html">r.watershed</a></em>.
  14. <p>
  15. Output raster map values of one (1) indicate the watershed
  16. basin. Values of zero (0) are not in the watershed basin.
  17. <h2>NOTES</h2>
  18. In the context of this program, a watershed basin is the region
  19. upstream of an outlet point. Thus, if the user chooses an outlet point
  20. on a hill slope, the resulting map will be a thin silver of land
  21. representing the overland slope uphill of the point.
  22. <h2>EXAMPLE</h2>
  23. A watershed in
  24. the <a href="http://grass.osgeo.org/download/sample-data/">North
  25. Carolina sample dataset</a> region:
  26. <div class="code"><pre>
  27. g.region raster=elev_lid792_1m -p
  28. # the watershed outlet position should be placed on a stream (from
  29. # accumulation map):
  30. r.watershed elev_lid792_1m threshold=5000 accumulation=accum_5K drainage=draindir_5K basin=basin_5K
  31. r.water.outlet input=draindir_5K output=basin_A30 coordinates=638740.423248,220271.519225
  32. d.mon wx0
  33. d.rast map=accum_5K
  34. d.rast map=basin_A30
  35. # overlay with transparency
  36. r.colors map=basin_A30 color=grey
  37. d.his h=accum_5K i=basin_A30
  38. # report outlet size in ha
  39. r.report map=basin_A30 units=h
  40. </pre></div>
  41. <p>
  42. <center>
  43. <img src="r_water_outlet.png" border=0><br>
  44. <i>Figure: Watershed draped over flow accumulation</i>
  45. </center>
  46. <h2>SEE ALSO</h2>
  47. <em>
  48. <a href="d.where.html">d.where</a>,
  49. <a href="r.basins.fill.html">r.basins.fill</a>,
  50. <a href="r.watershed.html">r.watershed</a>,
  51. <a href="r.topidx.html">r.topidx</a>
  52. </em>
  53. <h2>AUTHOR</h2>
  54. Charles Ehlschlaeger, U.S. Army Construction Engineering Research Laboratory
  55. <p>
  56. <i>Last changed: $Date$</i>