Add r.walk algorithms

This commit is contained in:
Médéric RIBREUX 2016-02-13 17:13:53 +01:00
parent 91ca474fd9
commit a773ffe520
4 changed files with 50 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,15 +0,0 @@
r.walk
Outputs a raster layer showing the anisotropic cumulative cost of moving based on friction cost.
Raster (r.*)
ParameterRaster|elevation|Elevation raster layer|False
ParameterRaster|friction|Friction costs layer|False
ParameterVector|start_points|Starting points|-1|False
ParameterString|max_cost|An optional maximum cumulative cost|0
ParameterString|percent_memory|Percent of map to keep in memory|100
*ParameterString|walk_coeff|Coefficients for walking energy formula parameters a,b,c,d|0.72,6.0,1.9998,-1.9998
*ParameterString|lambda|Lambda coefficients for combining walking energy and friction cost|1.0
ParameterString|slope_factor|Slope factor determines travel energy cost per height step|-0.2125
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|True
*ParameterBoolean|-n|Keep null values in output map|True
*ParameterBoolean|-r|Start with values in raster map|True
OutputRaster|output|Cost