Skip to content

Commit 30be722

Browse files
authoredJul 25, 2017
Merge pull request #4916 from NaturalGIS/master_fix_saga_cluster_analysis
[processing] fix SAGA cluster analysis for rasters
2 parents fc0bd62 + ecd2c65 commit 30be722

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def decoratedGroupName(name):
8787
'Add Grid Values to Shapes': 'Add raster values to features',
8888
'Change Grid Values': 'Reclassify values (simple)',
8989
'Clip Grid with Polygon': 'Clip raster with polygon',
90-
'Cluster Analysis for Grids': 'Cluster Analysis',
90+
'K-Means Clustering for Grids': 'Cluster Analysis',
9191
'Contour Lines from Grid': 'Contour Lines',
9292
'Cubic Spline Approximation': 'Interpolate (Cubic spline)',
9393
'Cut Shapes Layer': 'Cut vector Layer',
Lines changed: 6 additions & 4 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
911
OutputTable|STATISTICS|Statistics

0 commit comments

Comments
 (0)
Please sign in to comment.