r.walk.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <h2>DESCRIPTION</h2>
  2. <em>r.walk</em> outputs 1) a raster map showing the lowest
  3. cumulative cost of moving between each cell and the user-specified
  4. starting points and 2) a second raster map showing the movement
  5. direction to the next cell on the path back to the start point (see
  6. <a href="#move">Movement Direction</a>). It uses an input elevation
  7. raster map whose cell category values represent elevation,
  8. combined with a second input raster map whose cell values
  9. represent friction costs.
  10. <p>
  11. This function is similar to <em><a href="r.cost.html">r.cost</a></em>,
  12. but in addiction to a friction map, it considers an anisotropic travel
  13. time due to the different walking speed associated with downhill and
  14. uphill movements.
  15. <h2>NOTES</h2>
  16. <p>
  17. The formula from Aitken 1977/Langmuir 1984 (based on Naismith's rule
  18. for walking times) has been used to estimate the cost parameters of
  19. specific slope intervals:
  20. <div class="code"><pre>
  21. T= [(a)*(Delta S)] + [(b)*(Delta H uphill)] + [(c)*(Delta H moderate downhill)] + [(d)*(Delta H steep downhill)]
  22. </pre></div>
  23. where:
  24. <ul>
  25. <li><tt>T</tt> is time of movement in seconds,</li>
  26. <li><tt>Delta S</tt> is the distance covered in meters,</li>
  27. <li><tt>Delta H</tt> is the altitude difference in meter.</li>
  28. </ul>
  29. <p>
  30. The a, b, c, d <b>walk_coeff</b> parameters take in account
  31. movement speed in the different conditions and are linked to:
  32. <ul>
  33. <li>a: underfoot condition (a=1/walking_speed)</li>
  34. <li>b: underfoot condition and cost associated to movement uphill</li>
  35. <li>c: underfoot condition and cost associated to movement moderate downhill</li>
  36. <li>d: underfoot condition and cost associated to movement steep downhill</li>
  37. </ul>
  38. It has been proved that moving downhill is favourable up to a specific
  39. slope value threshold, after that it becomes unfavourable. The default
  40. slope value threshold (<b>slope_factor</b>) is -0.2125, corresponding
  41. to tan(-12), calibrated on human behaviour (&gt;5 and &lt;12 degrees:
  42. moderate downhill; &gt;12 degrees: steep downhill). The default values
  43. for a, b, c, d <b>walk_coeff</b> parameters are those proposed by
  44. Langmuir (0.72, 6.0, 1.9998, -1.9998), based on man walking effort in
  45. standard conditions.
  46. <p>The <b>lambda</b> parameter of the linear equation
  47. combining movement and friction costs:<br>
  48. <div class="code"><pre>
  49. total cost = movement time cost + (lambda) * friction costs
  50. </pre></div>
  51. must be set in the option section of <em>r.walk</em>.
  52. <p>
  53. For a more accurate result, the "knight's move" option can be used
  54. (although it is more time consuming). In the diagram below, the center
  55. location (O) represents a grid cell from which cumulative distances
  56. are calculated. Those neighbours marked with an x are always
  57. considered for cumulative cost updates. With the "knight's move"
  58. option, the neighbours marked with a K are also considered.
  59. <div class="code"><pre>
  60. K K
  61. K x x x K
  62. x O x
  63. K x x x K
  64. K K
  65. </pre></div>
  66. <p>The minimum cumulative costs are computed using Dijkstra's
  67. algorithm, that find an optimum solution (for more details see
  68. <em>r.cost</em>, that uses the same algorithm).
  69. <a name="move"></a>
  70. <h2>Movement Direction</h2>
  71. <p>The movement direction surface is created to record the sequence of
  72. movements that created the cost accumulation surface. Without it
  73. <em><a href="r.drain.html">r.drain</a></em> would not correctly create a path from an end point
  74. back to the start point. The direction of each cell points towards
  75. the next cell. The directions are recorded as degrees CCW from East:
  76. <div class="code"><pre>
  77. 112.5 67.5 i.e. a cell with the value 135
  78. 157.5 135 90 45 22.5 means the next cell is to the north-west
  79. 180 x 360
  80. 202.5 225 270 315 337.5
  81. 247.5 292.5
  82. </pre></div>
  83. <p>
  84. Once <em>r.walk</em> computes the cumulative cost map as a linear
  85. combination of friction cost (from friction map) and the altitude and
  86. distance covered (from the digital elevation
  87. model), <em><a href="r.drain.html">r.drain</a></em> can be used to
  88. find the minimum cost path. Make sure to use the <b>-d</b> flag and
  89. the movement direction raster map when
  90. running <em><a href="r.drain.html">r.drain</a></em> to ensure the path
  91. is computed according to the proper movement directions.
  92. <h2>REFERENCES</h2>
  93. <ul>
  94. <li>Aitken, R. 1977. Wilderness areas in Scotland. Unpublished Ph.D. thesis.
  95. University of Aberdeen.
  96. <li> Steno Fontanari, University of Trento, Italy, Ingegneria per l'Ambiente e
  97. il Territorio, 2000-2001.
  98. Svilluppo di metodologie GIS per la determinazione dell'accessibilità
  99. territoriale come supporto alle decisioni nella gestione ambientale.
  100. <li>Langmuir, E. 1984. Mountaincraft and leadership. The Scottish
  101. Sports Council/MLTB. Cordee, Leicester.
  102. </ul>
  103. <h2>SEE ALSO</h2>
  104. <em>
  105. <a href="r.cost.html">r.cost</a>,
  106. <a href="r.drain.html">r.drain</a>,
  107. <a href="r.in.ascii.html">r.in.ascii</a>,
  108. <a href="r.mapcalc.html">r.mapcalc</a>,
  109. <a href="r.out.ascii.html">r.out.ascii</a>
  110. </em>
  111. <h2>AUTHORS</h2>
  112. <b>Based on r.cost written by :</b><br>
  113. Antony Awaida, Intelligent Engineering, Systems Laboratory, M.I.T.<br>
  114. James Westervelt, U.S.Army Construction Engineering Research Laboratory<br>
  115. Updated for Grass 5 by Pierre de Mouveaux (pmx@audiovu.com)
  116. <p><b>Initial version of r.walk:</b><br>
  117. Steno Fontanari, 2002
  118. <p><b>Current version of r.walk:</b><br>
  119. Franceschetti Simone, Sorrentino Diego, Mussi Fabiano and Pasolli Mattia<br>
  120. Correction by: Fontanari Steno, Napolitano Maurizio and Flor Roberto<br>
  121. In collaboration with: Franchi Matteo, Vaglia Beatrice, Bartucca Luisa, Fava Valentina and Tolotti Mathias, 2004
  122. <p><b>Updated for Grass 6.1:</b><br>
  123. Roberto Flor and Markus Neteler
  124. <p>
  125. <i>Last changed: $Date$</i>