Skip to content

Commit ede6c23

Browse files
Giovanni Manghialexbruy
authored andcommittedMar 8, 2016
fix/adds SAGA 2.2.3 tools
1 parent bceea09 commit ede6c23

17 files changed

+145
-33
lines changed
 
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Confusion Matrix (Polygons / Grid)
2+
imagery_classification
3+
ParameterRaster|GRID|Classification|False
4+
ParameterTable|GRID_LUT|Look-up Table|True
5+
ParameterTableField|GRID_LUT_MIN|Value|GRID_LUT|-1|True
6+
ParameterTableField|GRID_LUT_MAX|Value (Maximum)|GRID_LUT|-1|True
7+
ParameterTableField|GRID_LUT_NAM|Name|GRID_LUT|-1|True
8+
ParameterVector|POLYGONS|Polygons|2|False
9+
ParameterTableField|FIELD|Classes|POLYGONS|-1|False
10+
OutputTable|CONFUSION|Confusion Matrix
11+
OutputTable|CLASSES|Class Values
12+
OutputTable|SUMMARY|Summary
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Diversity of Categories
2+
grid_analysis
3+
ParameterRaster|CATEGORIES|Categories|False
4+
ParameterSelection|SEARCH_MODE|Search Mode|[0] square;[1] circle|1
5+
ParameterNumber|SEARCH_RADIUS|Search Radius Distance|1.0|3|3
6+
ParameterSelection|NB_CASE|Connectivity Neighbourhood|[0] Rook's case;[1] Queen's case|1
7+
ParameterSelection|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
8+
ParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|0.0|None|1
9+
ParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|True
10+
ParameterNumber|DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|0.0|None|0.7
11+
OutputRaster|DIVERSITY|Diversity
12+
OutputRaster|SIZE_MEAN|Average Size
13+
OutputRaster|SIZE_SKEW|Skewness
14+
OutputRaster|CONNECTIVITY|Connectivity

‎python/plugins/processing/algs/saga/description/2.2.2/GridStatisticsforPolygons.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ Grid Statistics for Polygons
22
shapes_grid
33
ParameterMultipleInput|GRIDS|Grids|3|False
44
ParameterVector|POLYGONS|Polygons|2|False
5-
ParameterBoolean|COUNT |Number of Cells|True
6-
ParameterBoolean|MIN |Minimum|True
7-
ParameterBoolean|MAX |Maximum|True
8-
ParameterBoolean|RANGE |Range|True
9-
ParameterBoolean|SUM |Sum|True
10-
ParameterBoolean|MEAN |Mean|True
11-
ParameterBoolean|VAR |Variance|True
12-
ParameterBoolean|STDDEV |Standard Deviation|True
5+
ParameterSelection|METHOD|Method|[0] Standard;[1] Shape wise, supports overlapping polygons|1
6+
ParameterSelection|NAMING|Grid Naming|[0] Grid number;[1] Grid name|1
7+
ParameterBoolean|COUNT|Number of Cells|True
8+
ParameterBoolean|MIN|Minimum|True
9+
ParameterBoolean|MAX|Maximum|True
10+
ParameterBoolean|RANGE|Range|True
11+
ParameterBoolean|SUM|Sum|True
12+
ParameterBoolean|MEAN|Mean|True
13+
ParameterBoolean|VAR|Variance|True
14+
ParameterBoolean|STDDEV|Standard Deviation|True
1315
ParameterNumber|QUANTILE|Quantiles|None|None|0
1416
OutputVector|RESULT|Statistics

‎python/plugins/processing/algs/saga/description/2.2.2/ResidualAnalysis(Grid).txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ Residual analysis|Residual Analysis (Grid)
22
statistics_grid
33
ParameterRaster|GRID|Grid|False
44
ParameterNumber|RADIUS|Radius (Cells)|1.0|None|7
5-
ParameterSelection|DISTANCE_WEIGHTING_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
6-
ParameterNumber|DISTANCE_WEIGHTING_IDW_POWER|Inverse Distance Weighting Power|None|None|1
7-
ParameterBoolean|DISTANCE_WEIGHTING_IDW_OFFSET|Inverse Distance Offset|True
8-
ParameterNumber|DISTANCE_WEIGHTING_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|None|None|1.0
5+
ParameterBoolean|BCENTER|Include Center Cell|True
6+
ParameterSelection|DISTANCE_WEIGHTING_DW_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
7+
ParameterNumber|DISTANCE_WEIGHTING_DW_IDW_POWER|Inverse Distance Weighting Power|None|None|1
8+
ParameterBoolean|DISTANCE_WEIGHTING_DW_IDW_OFFSET|Inverse Distance Offset|True
9+
ParameterNumber|DISTANCE_WEIGHTING_DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|None|None|1.0
910
OutputRaster|MEAN|Mean Value
1011
OutputRaster|DIFF|Difference from Mean Value
1112
OutputRaster|STDDEV|Standard Deviation
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Confusion Matrix (Polygons / Grid)
2+
imagery_classification
3+
ParameterRaster|GRID|Classification|False
4+
ParameterTable|GRID_LUT|Look-up Table|True
5+
ParameterTableField|GRID_LUT_MIN|Value|GRID_LUT|-1|True
6+
ParameterTableField|GRID_LUT_MAX|Value (Maximum)|GRID_LUT|-1|True
7+
ParameterTableField|GRID_LUT_NAM|Name|GRID_LUT|-1|True
8+
ParameterVector|POLYGONS|Polygons|2|False
9+
ParameterTableField|FIELD|Classes|POLYGONS|-1|False
10+
OutputTable|CONFUSION|Confusion Matrix
11+
OutputTable|CLASSES|Class Values
12+
OutputTable|SUMMARY|Summary

‎python/plugins/processing/algs/saga/description/2.2.3/CreateGraticule.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Create Lines Graticule|Create Graticule
2+
shapes_tools
3+
Hardcoded|-TYPE 0
4+
ParameterVector|EXTENT|Extent|-1|True
5+
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
6+
ParameterNumber|DIVISION_X|Division Width|None|None|1.0
7+
ParameterNumber|DIVISION_Y|Division Height|None|None|1.0
8+
ParameterSelection|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|0
9+
OutputVector|GRATICULE_LINE|Lines Graticule
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Create Polygons Graticule|Create Graticule
2+
shapes_tools
3+
Hardcoded|-TYPE 1
4+
ParameterVector|EXTENT|Extent|-1|True
5+
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
6+
ParameterNumber|DIVISION_X|Division Width|None|None|1.0
7+
ParameterNumber|DIVISION_Y|Division Height|None|None|1.0
8+
ParameterSelection|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|0
9+
OutputVector|GRATICULE_RECT|Rectangle Graticule
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Diffusive Hillslope Evolution (ADI)
2+
sim_qm_of_esp
3+
ParameterRaster|DEM|Elevation|False
4+
ParameterRaster|CHANNELS|Channel Mask|True
5+
ParameterBoolean|UPDATE|Update|True
6+
ParameterNumber|KAPPA|Diffusivity [m2/kyr]|0.0|None|10.0
7+
ParameterNumber|DURATION|Simulation Time [kyr]|0.0|None|10000.0
8+
ParameterSelection|TIMESTEP|Time Step|[0] user defined;[1] automatically|1
9+
ParameterNumber|DTIME|Time Step [kyr]|0.0|None|1000.0
10+
OutputRaster|MODEL|Modelled Elevation
11+
OutputRaster|DIFF|Elevation Difference
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Diffusive Hillslope Evolution (FTCS)
2+
sim_qm_of_esp
3+
ParameterRaster|DEM|Elevation|False
4+
ParameterBoolean|UPDATE|Update|True
5+
ParameterNumber|KAPPA|Diffusivity [m2/kyr]|0.0|None|1.0
6+
ParameterNumber|DURATION|Simulation Time [kyr]|0.0|None|100.0
7+
ParameterSelection|TIMESTEP|Time Step|[0] user defined;[1] automatically|1
8+
ParameterNumber|DTIME|Time Step [kyr]|0.0|None|10.0
9+
ParameterSelection|NEIGHBOURS|Neighbourhood|[0] Neumann;[1] Moore|1
10+
OutputRaster|MODEL|Modelled Elevation
11+
OutputRaster|DIFF|Elevation Difference
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Diversity of Categories
2+
grid_analysis
3+
ParameterRaster|CATEGORIES|Categories|False
4+
ParameterSelection|SEARCH_MODE|Search Mode|[0] square;[1] circle|1
5+
ParameterNumber|SEARCH_RADIUS|Search Radius Distance|1.0|3|3
6+
ParameterSelection|NB_CASE|Connectivity Neighbourhood|[0] Rook's case;[1] Queen's case|1
7+
ParameterSelection|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
8+
ParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|0.0|None|1
9+
ParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|True
10+
ParameterNumber|DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|0.0|None|0.7
11+
OutputRaster|COUNT|Number of Categories
12+
OutputRaster|DIVERSITY|Diversity
13+
OutputRaster|SIZE_MEAN|Average Size
14+
OutputRaster|SIZE_SKEW|Skewness
15+
OutputRaster|CONNECTIVITY|Connectivity
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Fill Sinks (QM of ESP)
2+
sim_qm_of_esp
3+
ParameterRaster|DEM|DEM|False
4+
ParameterNumber|DZFILL|Fill Increment|0.0|None|0.01
5+
OutputRaster|FILLED|DEM Without Sinks
6+
OutputRaster|SINKS|Sinks
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Flow Accumulation (QM of ESP)
2+
sim_qm_of_esp
3+
ParameterRaster|DEM|DEM|False
4+
ParameterSelection|PREPROC|Preprocessing|[0] none;[1] fill sinks temporarily;[2] fill sinks permanently|1
5+
ParameterNumber|DZFILL|Fill Increment|0.00|None|0.01
6+
OutputRaster|FLOW|Contributing Area

‎python/plugins/processing/algs/saga/description/2.2.3/GridStatisticsforPolygons.txt

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ Grid Statistics for Polygons
22
shapes_grid
33
ParameterMultipleInput|GRIDS|Grids|3|False
44
ParameterVector|POLYGONS|Polygons|2|False
5-
ParameterBoolean|COUNT |Number of Cells|True
6-
ParameterBoolean|MIN |Minimum|True
7-
ParameterBoolean|MAX |Maximum|True
8-
ParameterBoolean|RANGE |Range|True
9-
ParameterBoolean|SUM |Sum|True
10-
ParameterBoolean|MEAN |Mean|True
11-
ParameterBoolean|VAR |Variance|True
12-
ParameterBoolean|STDDEV |Standard Deviation|True
5+
ParameterSelection|METHOD|Method|[0] Standard;[1] Shape wise, supports overlapping polygons|1
6+
ParameterSelection|NAMING|Grid Naming|[0] Grid number;[1] Grid name|1
7+
ParameterBoolean|COUNT|Number of Cells|True
8+
ParameterBoolean|MIN|Minimum|True
9+
ParameterBoolean|MAX|Maximum|True
10+
ParameterBoolean|RANGE|Range|True
11+
ParameterBoolean|SUM|Sum|True
12+
ParameterBoolean|MEAN|Mean|True
13+
ParameterBoolean|VAR|Variance|True
14+
ParameterBoolean|STDDEV|Standard Deviation|True
1315
ParameterNumber|QUANTILE|Quantiles|None|None|0
14-
OutputVector|RESULT|Statistics
16+
OutputVector|RESULT|Statistics

‎python/plugins/processing/algs/saga/description/2.2.3/Mosaicking.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Mosaick raster layers|Mosaicking
22
grid_tools
33
AllowUnmatching
44
ParameterMultipleInput|GRIDS|Input Grids|3|False
5+
ParameterString|NAME|Name|Mosaic
56
ParameterSelection|TYPE|Preferred data storage type|[0] 1 bit;[1] 1 byte unsigned integer;[2] 1 byte signed integer;[3] 2 byte unsigned integer;[4] 2 byte signed integer;[5] 4 byte unsigned integer;[6] 4 byte signed integer;[7] 4 byte floating point;[8] 8 byte floating point|7
67
ParameterSelection|INTERPOL|Interpolation|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation|0
78
ParameterSelection|OVERLAP|Overlapping Areas|[0] first;[1] last;[2] minimum;[3] maximum;[4] mean;[5] blend boundary;[6] feathering|1

‎python/plugins/processing/algs/saga/description/2.2.3/ResidualAnalysis(Grid).txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
Residual analysis|Residual Analysis (Grid)
22
statistics_grid
33
ParameterRaster|GRID|Grid|False
4+
ParameterSelection|MODE|Search Mode|[0] square;[1] circle|1
45
ParameterNumber|RADIUS|Radius (Cells)|1.0|None|7
5-
ParameterSelection|DISTANCE_WEIGHTING_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
6-
ParameterNumber|DISTANCE_WEIGHTING_IDW_POWER|Inverse Distance Weighting Power|None|None|1
7-
ParameterBoolean|DISTANCE_WEIGHTING_IDW_OFFSET|Inverse Distance Offset|True
8-
ParameterNumber|DISTANCE_WEIGHTING_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|None|None|1.0
6+
ParameterBoolean|BCENTER|Include Center Cell|True
7+
ParameterSelection|DISTANCE_WEIGHTING_DW_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting|0
8+
ParameterNumber|DISTANCE_WEIGHTING_DW_IDW_POWER|Inverse Distance Weighting Power|0.0|None|1
9+
ParameterBoolean|DISTANCE_WEIGHTING_DW_IDW_OFFSET|Inverse Distance Offset|True
10+
ParameterNumber|DISTANCE_WEIGHTING_DW_BANDWIDTH|Gaussian and Exponential Weighting Bandwidth|0.0|None|1.0
911
OutputRaster|MEAN|Mean Value
1012
OutputRaster|DIFF|Difference from Mean Value
1113
OutputRaster|STDDEV|Standard Deviation
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Successive Flow Routing
2+
sim_qm_of_esp
3+
ParameterRaster|DEM|DEM|False
4+
ParameterNumber|ITERATIONS|Iterations|1|None|100
5+
ParameterNumber|RUNOFF|Runoff|None|None|1.00
6+
ParameterNumber|MANNING|Manning's Roughness|None|None|0.20
7+
OutputRaster|FLOW|Flow

0 commit comments

Comments
 (0)
Please sign in to comment.