-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2890 from NaturalGIS/processing_better_grass7_r_cost
[processing] better GRASS 7 r.cost algorithms
- Loading branch information
Showing
6 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
python/plugins/processing/algs/grass7/description/r.cost.coordinates.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
r.cost | ||
r.cost.coordinates - 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 | ||
ParameterString|start_coordinates|Coordinates of starting point(s) (E,N)|0,0 | ||
ParameterString|stop_coordinates|Coordinates of stopping point(s) (E,N)| | ||
ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False | ||
ParameterBoolean|-n|Keep null values in output raster layer|True | ||
ParameterNumber|max_cost|Maximum cumulative cost|0|None|0 | ||
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|0 | ||
ParameterNumber|memory|Maximum memory to be used in MB|0|None|300 | ||
OutputRaster|output|Cumulative cost |
8 changes: 0 additions & 8 deletions
8
python/plugins/processing/algs/grass7/description/r.cost.full.txt
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
python/plugins/processing/algs/grass7/description/r.cost.points.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
r.cost | ||
r.cost.points - 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 | ||
ParameterVector|start_points|Start points|0|False | ||
ParameterVector|stop_points|Stop points|0|True | ||
ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False | ||
ParameterBoolean|-n|Keep null values in output raster layer|True | ||
OutputRaster|output|Cumulative cost |
11 changes: 11 additions & 0 deletions
11
python/plugins/processing/algs/grass7/description/r.cost.raster.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
r.cost | ||
r.cost.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_raster|Name of starting raster points map|False | ||
ParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False | ||
ParameterBoolean|-n|Keep null values in output raster layer|True | ||
ParameterNumber|max_cost|Maximum cumulative cost|0|None|0 | ||
ParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|None|None|0 | ||
ParameterNumber|memory|Maximum memory to be used in MB|0|None|300 | ||
OutputRaster|output|Cumulative cost |
This file was deleted.
Oops, something went wrong.