From 0652955224339f82871d8b4dbc6482b59fe4b3fc Mon Sep 17 00:00:00 2001 From: Giovanni Manghi Date: Sun, 8 Nov 2015 14:25:47 +0000 Subject: [PATCH] fix SAGA 2.2.* Inverse Distance Weighted --- .../description/2.2.0/InverseDistanceWeighted.txt | 11 ++++++++--- .../description/2.2.2/InverseDistanceWeighted.txt | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/python/plugins/processing/algs/saga/description/2.2.0/InverseDistanceWeighted.txt b/python/plugins/processing/algs/saga/description/2.2.0/InverseDistanceWeighted.txt index 7c0eb5d6a45..8964d04f54b 100644 --- a/python/plugins/processing/algs/saga/description/2.2.0/InverseDistanceWeighted.txt +++ b/python/plugins/processing/algs/saga/description/2.2.0/InverseDistanceWeighted.txt @@ -2,14 +2,19 @@ Inverse Distance Weighted grid_gridding ParameterVector|SHAPES|Points|0|False ParameterTableField|FIELD|Attribute|SHAPES|-1|False -ParameterSelection|WEIGHTING|Distance Weighting|[0] inverse distance to a power;[1] linearly decreasing within search radius;[2] exponential weighting scheme;[3] gaussian weighting scheme -ParameterNumber|WEIGHT_POWER|Inverse Distance Power|0.0|None|2 -ParameterNumber|WEIGHT_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1 +ParameterSelection|DW_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting scheme +ParameterNumber|DW_IDW_POWER|Inverse Distance Power|0.0|None|2 +ParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|False +ParameterNumber|DW_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1 ParameterSelection|SEARCH_RANGE|Search Range|[0] search radius (local);[1] no search radius (global)|1 ParameterNumber|SEARCH_RADIUS|Search Radius|None|None|100.0 +ParameterSelection|SEARCH_POINTS_ALL|Search Range|[0] maximum number of nearest points;[1] all points whitin search distance|0 +ParameterNumber|SEARCH_POINTS_MIN|Minimum|-1|None|-1 +ParameterNumber|SEARCH_POINTS_MAX|Maximum|1|20|1 ParameterSelection|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX ParameterNumber|TARGET_USER_SIZE|Cellsize|None|None|100.0 ParameterSelection|TARGET_DEFINITION|Target Grid System|[0] user defined;[1] grid or grid system ParameterSelection|TARGET_USER_FITS|Fit|[0] nodes;[1] cells +ParameterRaster|TARGET_TEMPLATE|Target System|True OutputRaster|TARGET_OUT_GRID|Grid \ No newline at end of file diff --git a/python/plugins/processing/algs/saga/description/2.2.2/InverseDistanceWeighted.txt b/python/plugins/processing/algs/saga/description/2.2.2/InverseDistanceWeighted.txt index 7c0eb5d6a45..8964d04f54b 100644 --- a/python/plugins/processing/algs/saga/description/2.2.2/InverseDistanceWeighted.txt +++ b/python/plugins/processing/algs/saga/description/2.2.2/InverseDistanceWeighted.txt @@ -2,14 +2,19 @@ Inverse Distance Weighted grid_gridding ParameterVector|SHAPES|Points|0|False ParameterTableField|FIELD|Attribute|SHAPES|-1|False -ParameterSelection|WEIGHTING|Distance Weighting|[0] inverse distance to a power;[1] linearly decreasing within search radius;[2] exponential weighting scheme;[3] gaussian weighting scheme -ParameterNumber|WEIGHT_POWER|Inverse Distance Power|0.0|None|2 -ParameterNumber|WEIGHT_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1 +ParameterSelection|DW_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting scheme +ParameterNumber|DW_IDW_POWER|Inverse Distance Power|0.0|None|2 +ParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|False +ParameterNumber|DW_BANDWIDTH|Exponential and Gaussian Weighting Bandwidth|0.0|None|1 ParameterSelection|SEARCH_RANGE|Search Range|[0] search radius (local);[1] no search radius (global)|1 ParameterNumber|SEARCH_RADIUS|Search Radius|None|None|100.0 +ParameterSelection|SEARCH_POINTS_ALL|Search Range|[0] maximum number of nearest points;[1] all points whitin search distance|0 +ParameterNumber|SEARCH_POINTS_MIN|Minimum|-1|None|-1 +ParameterNumber|SEARCH_POINTS_MAX|Maximum|1|20|1 ParameterSelection|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX ParameterNumber|TARGET_USER_SIZE|Cellsize|None|None|100.0 ParameterSelection|TARGET_DEFINITION|Target Grid System|[0] user defined;[1] grid or grid system ParameterSelection|TARGET_USER_FITS|Fit|[0] nodes;[1] cells +ParameterRaster|TARGET_TEMPLATE|Target System|True OutputRaster|TARGET_OUT_GRID|Grid \ No newline at end of file