Skip to content

Commit e87b1b2

Browse files
author
Médéric RIBREUX
committed
Add r.cost algorithms
1 parent 256b674 commit e87b1b2

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
r.cost
2+
r.cost.coords - Creates a raster layer of cumulative cost of moving across a raster layer whose cell values represent cost from a list of coordinates.
3+
Raster (r.*)
4+
ParameterRaster|input|Unit cost layer|False
5+
ParameterString|start_coordinates|Coordinates of starting point(s) (a list of E,N)|None|False|False
6+
ParameterString|stop_coordinates|Coordinates of stopping point(s) (a list of E,N)|None|False|True
7+
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
8+
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
9+
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
10+
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
11+
*ParameterBoolean|-n|Keep null values in output raster layer|False
12+
OutputRaster|output|Cumulative cost
13+
OutputRaster|nearest|Nearest start points
14+
OutputRaster|outdir|Movement Directions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
r.cost
2+
r.cost.points - Creates a raster layer of cumulative cost of moving across a raster layer whose cell values represent cost from a vector point layer.
3+
Raster (r.*)
4+
ParameterRaster|input|Unit cost layer|False
5+
ParameterVector|start_points|Start points|0|False
6+
ParameterVector|stop_points|Stop points|0|True
7+
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
8+
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
9+
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
10+
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
11+
*ParameterBoolean|-n|Keep null values in output raster layer|False
12+
OutputRaster|output|Cumulative cost
13+
OutputRaster|nearest|Nearest start points
14+
OutputRaster|outdir|Movement Directions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
r.cost
2+
r.cost.rast - Creates a raster layer of cumulative cost of moving across a raster layer whose cell values represent cost from a raster of starting points.
3+
Raster (r.*)
4+
ParameterRaster|input|Unit cost layer|False
5+
ParameterRaster|start_raster|Name of starting raster points map (all non-NULL cells are starting points)|False
6+
ParameterNumber|max_cost|Maximum cumulative cost|None|None|0.0|True
7+
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|None|True
8+
*ParameterNumber|memory|Maximum memory to be used in MB|0|None|300|True
9+
*ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
10+
*ParameterBoolean|-n|Keep null values in output raster layer|False
11+
OutputRaster|output|Cumulative cost
12+
OutputRaster|nearest|Nearest start points
13+
OutputRaster|outdir|Movement Directions

0 commit comments

Comments
 (0)