Skip to content

Commit 89a3dd5

Browse files
committed
[processing][grass] Fix broken r.cost algorithm
1 parent f03baa8 commit 89a3dd5

File tree

1 file changed

+5
-5
lines changed
  • python/plugins/processing/algs/grass7/description

1 file changed

+5
-5
lines changed

python/plugins/processing/algs/grass7/description/r.cost.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ r.cost
22
Creates a raster layer of cumulative cost of moving across a raster layer whose cell values represent cost.
33
Raster (r.*)
44
QgsProcessingParameterRasterLayer|input|Unit cost layer|None|False
5-
QgsProcessingParameterPoint|start_coordinates|Coordinates of starting point(s) (E,N)|0,0|False
6-
QgsProcessingParameterPoint|stop_coordinates|Coordinates of stopping point(s) (E,N)|0,0|False
5+
QgsProcessingParameterPoint|start_coordinates|Coordinates of starting point(s) (E,N)||True
6+
QgsProcessingParameterPoint|stop_coordinates|Coordinates of stopping point(s) (E,N)||True
77
QgsProcessingParameterBoolean|-k|Use the 'Knight's move'; slower, but more accurate|False
88
QgsProcessingParameterBoolean|-n|Keep null values in output raster layer|True
99
QgsProcessingParameterFeatureSource|start_points|Start points|0|None|True
@@ -12,6 +12,6 @@ QgsProcessingParameterRasterLayer|start_raster|Name of starting raster points ma
1212
QgsProcessingParameterNumber|max_cost|Maximum cumulative cost|QgsProcessingParameterNumber.Double|0.0|True|None|None
1313
QgsProcessingParameterNumber|null_cost|Cost assigned to null cells. By default, null cells are excluded|QgsProcessingParameterNumber.Double|None|True|None|None
1414
QgsProcessingParameterNumber|memory|Maximum memory to be used in MB|QgsProcessingParameterNumber.Integer|300|True|1|None
15-
QgsProcessingParameterRasterDestination|output|Cumulative cost
16-
QgsProcessingParameterRasterDestination|nearest|Cost allocation map
17-
QgsProcessingParameterRasterDestination|outdir|Movement directions
15+
QgsProcessingParameterRasterDestination|output|Cumulative cost|None|True
16+
QgsProcessingParameterRasterDestination|nearest|Cost allocation map|None|True
17+
QgsProcessingParameterRasterDestination|outdir|Movement directions|None|True

0 commit comments

Comments
 (0)