Skip to content

Commit 456e015

Browse files
committed
fix SAGA cluster analysis for rasters
1 parent ab6dd74 commit 456e015

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

python/plugins/processing/algs/saga/SagaNameDecorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def decoratedGroupName(name):
9595
'Add Grid Values to Shapes': 'Add raster values to features',
9696
'Change Grid Values': 'Reclassify values (simple)',
9797
'Clip Grid with Polygon': 'Clip raster with polygon',
98-
'Cluster Analysis for Grids': 'Cluster Analysis',
98+
'K-Means Clustering for Grid': 'Cluster Analysis',
9999
'Contour Lines from Grid': 'Contour Lines',
100100
'Cubic Spline Approximation': 'Interpolate (Cubic spline)',
101101
'Cut Shapes Layer': 'Cut vector Layer',
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
Cluster Analysis for Grids
1+
K-Means Clustering for Grids
22
imagery_classification
33
ParameterMultipleInput|GRIDS|Grids|3.0|False
44
ParameterSelection|METHOD|Method|[0] Iterative Minimum Distance (Forgy 1965);[1] Hill-Climbing (Rubin 1967);[2] Combined Minimum Distance / Hillclimbing
5-
ParameterNumber|NCLUSTER|Clusters|None|None|5
6-
ParameterBoolean|NORMALISE |Normalise|True
7-
ParameterBoolean|OLDVERSION |Old Version|True
5+
ParameterNumber|NCLUSTER|Clusters|2|None|10
6+
ParameterNumber|MAXITER|Maximum Iterations|0|None|0
7+
ParameterBoolean|NORMALISE|Normalise|True
8+
ParameterBoolean|OLDVERSION|Old Version|False
9+
ParameterBoolean|UPDATEVIEW|Update View|False
810
OutputRaster|CLUSTER|Clusters
9-
OutputTable|STATISTICS|Statistics
11+
OutputTable|STATISTICS|Statistics

0 commit comments

Comments
 (0)