Skip to content

Commit

Permalink
Add r.walk algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric RIBREUX committed Feb 13, 2016
1 parent 958a7ee commit cb22e66
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 15 deletions.
@@ -0,0 +1,17 @@
r.walk
r.walk.coords - Creates a raster map showing the anisotropic cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost from a list of coordinates.
Raster (r.*)
ParameterRaster|elevation|Name of input elevation raster map|False
ParameterRaster|friction|Name of input raster map containing friction costs|False
ParameterString|start_coordinates|Coordinates of starting point(s) (a list of E,N)|None|False|False
ParameterString|stop_coordinates|Coordinates of stopping point(s) (a list of E,N)|None|False|True
ParameterString|walk_coeff|Coefficients for walking energy formula parameters a,b,c,d|0.72,6.0,1.9998,-1.9998|False|True
ParameterNumber|lambda|Lambda coefficients for combining walking energy and friction cost|None|None|1.0|True
ParameterNumber|slope_factor|Slope factor determines travel energy cost per height step|None|None|-0.2125|True
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
*ParameterBoolean|-n|Keep null values in output raster layer|False
OutputRaster|output|Cumulative cost
OutputRaster|outdir|Movement Directions
@@ -0,0 +1,17 @@
r.walk
r.walk.points - Creates a raster map showing the anisotropic cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost from point vector layers.
Raster (r.*)
ParameterRaster|elevation|Name of input elevation raster map|False
ParameterRaster|friction|Name of input raster map containing friction costs|False
ParameterVector|start_points|Start points|0|False
ParameterVector|stop_points|Stop points|0|True
ParameterString|walk_coeff|Coefficients for walking energy formula parameters a,b,c,d|0.72,6.0,1.9998,-1.9998|False|True
ParameterNumber|lambda|Lambda coefficients for combining walking energy and friction cost|None|None|1.0|True
ParameterNumber|slope_factor|Slope factor determines travel energy cost per height step|None|None|-0.2125|True
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
*ParameterBoolean|-n|Keep null values in output raster layer|False
OutputRaster|output|Cumulative cost
OutputRaster|outdir|Movement Directions
16 changes: 16 additions & 0 deletions python/plugins/processing/algs/grass7/description/r.walk.rast.txt
@@ -0,0 +1,16 @@
r.walk
r.walk.rast - Creates a raster map showing the anisotropic cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost from a raster.
Raster (r.*)
ParameterRaster|elevation|Name of input elevation raster map|False
ParameterRaster|friction|Name of input raster map containing friction costs|False
ParameterRaster|start_raster|Name of starting raster points map (all non-NULL cells are starting points)|False
ParameterString|walk_coeff|Coefficients for walking energy formula parameters a,b,c,d|0.72,6.0,1.9998,-1.9998|False|True
ParameterNumber|lambda|Lambda coefficients for combining walking energy and friction cost|None|None|1.0|True
ParameterNumber|slope_factor|Slope factor determines travel energy cost per height step|None|None|-0.2125|True
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
*ParameterBoolean|-n|Keep null values in output raster layer|False
OutputRaster|output|Cumulative cost
OutputRaster|outdir|Movement Directions
15 changes: 0 additions & 15 deletions python/plugins/processing/algs/grass7/description/r.walk.txt

This file was deleted.

0 comments on commit cb22e66

Please sign in to comment.