Skip to content

Commit

Permalink
Merge pull request #1472 from gioman/r_cost_raster
Browse files Browse the repository at this point in the history
[processing] add a r.cost submodule that uses a raster input as starting point(s) + fix r.drain and add a submodule for r.drain that does not need input point vectors
  • Loading branch information
alexbruy committed Jun 19, 2014
2 parents a72bfb6 + 2176e16 commit 8cefd31
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
r.cost
r.cost.full.raster - Creates a raster layer of cumulative cost of moving across a raster layer whose cell values represent cost.
Raster (r.*)
ParameterRaster|input|Unit cost layer|False
ParameterRaster|start_rast|Name of starting raster points map|0|False
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
r.drain
r.drain.coordinate - Traces a flow through an elevation model on a raster map.
Raster (r.*)
ParameterRaster|input|Elevation|False
ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|0,0
ParameterBoolean|-c|Copy input cell values on output|False
ParameterBoolean|-a|Accumulate input values along the path|False
ParameterBoolean|-n|Count cell numbers along the path|False
OutputRaster|output|Result
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ r.drain
r.drain - Traces a flow through an elevation model on a raster map.
Raster (r.*)
ParameterRaster|input|Elevation|False
ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|(0,0)
ParameterString|coordinate|Map coordinates of starting point(s) (E,N)|0,0
ParameterMultipleInput|vector_points|Vector layer(s) containing starting point(s)|0|False
ParameterBoolean|-c|Copy input cell values on output|False
ParameterBoolean|-a|Accumulate input values along the path|False
Expand Down

0 comments on commit 8cefd31

Please sign in to comment.