table of contents
other versions
- jessie 6.4.4-1
- stretch 7.2.0-2
- testing 7.6.0-1
- unstable 7.6.0-1
- experimental 7.6.1-1~exp1
| r.walk(1grass) | Grass User's Manual | r.walk(1grass) |
NAME¶
r.walk - Outputs a raster map layer showing the anisotropic cumulative cost of moving between different geographic locations on an input elevation raster map layer whose cell category values represent elevation combined with an input raster map layer whose cell values represent friction cost.KEYWORDS¶
raster, cost surface, cumulative costsSYNOPSIS¶
r.walkFlags:¶
- -k
-
Use the 'Knight's move'; slower, but more accurate
- -n
-
Keep null values in output map
- -r
-
Start with values in raster map
- --overwrite
-
Allow output files to overwrite existing files
- --verbose
-
Verbose module output
- --quiet
-
Quiet module output
Parameters:¶
- elevation=string
-
Name of elevation input raster map
- friction=string
-
Name of input raster map containing friction costs
- output=string
-
Name of raster map to contain results
- outdir=string
-
Name of output raster map to contain movement directions
- start_points=string
-
Starting points vector map
- stop_points=string
-
Stop points vector map
- coordinate=x,y[,x,y,...]
-
The map E and N grid coordinates of a starting point (E,N)
- stop_coordinate=x,y[,x,y,...]
-
The map E and N grid coordinates of a stopping point (E,N)
- max_cost=integer
-
An optional maximum cumulative costDefault: 0
- null_cost=float
-
Cost assigned to null cells. By default, null cells are excluded
- percent_memory=integer
-
Percent of map to keep in memoryDefault: 100
- nseg=integer
-
Number of the segment to create (segment library)Default: 4
- walk_coeff=a,b,c,d
-
Coefficients for walking energy formula parameters a,b,c,dDefault: 0.72,6.0,1.9998,-1.9998
- lambda=float
-
Lambda coefficients for combining walking energy and friction costDefault: 1.0
- slope_factor=float
-
Slope factor determines travel energy cost per height stepDefault: -0.2125
DESCRIPTION¶
r.walk outputs 1) a raster map layer showing the lowest cumulative cost of moving between each cell and the user-specified starting points and 2) a second raster map layer showing the movement direction to the next cell on the path back to the start point (see Movement Direction). It uses an input elevation raster map layer whose cell category values represent elevation, combined with a second input raster map layer whose cell values represent friction costs. This function is similar to r.cost, but in addiction to a friction map, it considers an anisotropic travel time due to the different walking speed associated with downhill and uphill movements. The formula from Aitken 1977/Langmuir 1984 (based on Naismith's rule for walking times) has been used to estimate the cost parameters of specific slope intervals: T= [(a)*(Delta S)] + [(b)*(Delta H uphill)] + [(c)*(Delta H moderate downhill)] + [(d)*(Delta H steep downhill)] where:K K
x O x
K K
Movement Direction¶
The movement direction surface is created to record the sequence of movements that created the cost accumulation surface. Without it r.drain would not correctly create a path from an end point back to the start point. The direction shown in each cell points away from the cell that came before it. The directions are recorded as112.5 90 67.5 i.e. a cell with the value 135
180 x 0 to the south-east.
247.5 292.5
SEE ALSO¶
r.cost, r.drain, r.in.ascii, r.mapcalc, r.out.asciiREFERENCES¶
- Aitken, R. 1977. Wilderness areas in Scotland. Unpublished Ph.D. thesis. University of Aberdeen.
-
Steno Fontanari, University of Trento, Italy, Ingegneria per l'Ambiente e il Territorio, 2000-2001. Svilluppo di metodologie GIS per la determinazione dell'accessibilità territoriale come supporto alle decisioni nella gestione ambientale.
- Langmuir, E. 1984. Mountaincraft and leadership. The Scottish Sports Council/MLTB. Cordee, Leicester.
AUTHORS¶
Based on r.cost written by : Antony Awaida,| GRASS 6.4.4 |