Skip to content

Commit 23172a1

Browse files
committed
[processing] Fixes #18183: SAGA "output extent" should not be mandatory
1 parent e1ad1cb commit 23172a1

28 files changed

+30
-35
lines changed

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

+1-6
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@ def defineCharacteristicsFromFile(self):
148148
self.params.append(getParameterFromString(line))
149149
elif line.startswith('AllowUnmatching'):
150150
self.allow_nonmatching_grid_extents = True
151-
elif line.startswith('Extent'):
152-
# An extent parameter that wraps 4 SAGA numerical parameters
153-
self.extentParamNames = line[6:].strip().split(' ')
154-
self.params.append(QgsProcessingParameterExtent(self.OUTPUT_EXTENT,
155-
'Output extent'))
156151
else:
157152
pass # TODO
158153
#self.addOutput(getOutputFromString(line))
@@ -289,7 +284,7 @@ def processAlgorithm(self, parameters, context, feedback):
289284
values.append(rect.yMaximum())
290285

291286
for i in range(4):
292-
command += ' -{} {}'.format(self.extentParamNames[i], float(values[i]) + offset[i])
287+
command += ' -{} {}'.format(param.name().split(' ')[i], float(values[i]) + offset[i])
293288
elif isinstance(param, QgsProcessingParameterNumber):
294289
if param.dataType() == QgsProcessingParameterNumber.Integer:
295290
command += ' -{} {}'.format(param.name(), self.parameterAsInt(parameters, param.name(), context))

python/plugins/processing/algs/saga/description/B-SplineApproximation.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
44
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
Hardcoded|-TARGET_DEFINITION 0
66
QgsProcessingParameterNumber|LEVEL|Resolution|QgsProcessingParameterNumber.Double|1.0|False|0.001|None
7-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
7+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
88
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
99
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1010
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/CreateLinesGraticule.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Create Lines Graticule|Create Graticule
22
shapes_tools
33
Hardcoded|-TYPE 0
44
QgsProcessingParameterFeatureSource|EXTENT|Extent|-1|None|True
5-
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
5+
QgsProcessingParameterExtent|EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX|Output extent|None|False
66
QgsProcessingParameterNumber|DIVISION_X|Division Width|QgsProcessingParameterNumber.Double|1.0|False|None|None
77
QgsProcessingParameterNumber|DIVISION_Y|Division Height|QgsProcessingParameterNumber.Double|1.0|False|None|None
88
QgsProcessingParameterEnum|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|False|0
9-
QgsProcessingParameterVectorDestination|GRATICULE_LINE|Lines Graticule
9+
QgsProcessingParameterVectorDestination|GRATICULE_LINE|Lines Graticule

python/plugins/processing/algs/saga/description/CreatePolygonsGraticule.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Create Polygons Graticule|Create Graticule
22
shapes_tools
33
Hardcoded|-TYPE 1
44
QgsProcessingParameterFeatureSource|EXTENT|Extent|-1|None|True
5-
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
5+
QgsProcessingParameterExtent|EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX|Output extent|None|False
66
QgsProcessingParameterNumber|DIVISION_X|Division Width|QgsProcessingParameterNumber.Double|1.0|False|None|None
77
QgsProcessingParameterNumber|DIVISION_Y|Division Height|QgsProcessingParameterNumber.Double|1.0|False|None|None
88
QgsProcessingParameterEnum|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|False|0
9-
QgsProcessingParameterVectorDestination|GRATICULE_RECT|Rectangle Graticule
9+
QgsProcessingParameterVectorDestination|GRATICULE_RECT|Rectangle Graticule

python/plugins/processing/algs/saga/description/CubicSplineApproximation.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ QgsProcessingParameterNumber|NPMIN|Minimal Number of Points|QgsProcessingParamet
77
QgsProcessingParameterNumber|NPMAX|Maximal Number of Points|QgsProcessingParameterNumber.Integer|20|False|11|59
88
QgsProcessingParameterNumber|NPPC|Points per Square|QgsProcessingParameterNumber.Integer|5|False|1|None
99
QgsProcessingParameterNumber|K|Tolerance|QgsProcessingParameterNumber.Double|140.0|False|0|None
10-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
10+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1111
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1212
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1313
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/GeographicallyWeightedMultipleRegression.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number
1414
QgsProcessingParameterNumber|SEARCH_POINTS_MIN|Minimum|QgsProcessingParameterNumber.Integer|4|False|1|None
1515
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNumber.Integer|20|False|1|None
1616
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Direction|[0] all directions;[1] quadrants
17-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
17+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1818
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1919
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
2020
QgsProcessingParameterVectorDestination|REGRESSION|Regression

python/plugins/processing/algs/saga/description/GeographicallyWeightedRegression.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number
1414
QgsProcessingParameterNumber|SEARCH_POINTS_MIN|Minimum|QgsProcessingParameterNumber.Integer|4|False|1|None
1515
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNumber.Integer|20|False|1|None
1616
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Direction|[0] all directions;[1] quadrants
17-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
17+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1818
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1919
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
2020
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/InverseDistanceWeighted.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNum
1414
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants
1515
QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number of nearest points;[1] all points
1616
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum Number of Points|QgsProcessingParameterNumber.Integer|10|False|None|None
17-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
17+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1818
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1919
QgsProcessingParameterEnum|TARGET_DEFINITION|Target Grid System|[0] user defined;[1] grid or grid system
2020
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells

python/plugins/processing/algs/saga/description/KernelDensityEstimation.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ QgsProcessingParameterField|POPULATION|Weight|None|POINTS|-1|False|False
55
QgsProcessingParameterNumber|RADIUS|Radius|QgsProcessingParameterNumber.Integer|10|False|None|None
66
QgsProcessingParameterEnum|KERNEL|Kernel|[0] quartic kernel;[1] gaussian kernel
77
Hardcoded|-TARGET_DEFINITION 0
8-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
8+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
99
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1010
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1111
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Kernel

python/plugins/processing/algs/saga/description/ModifedQuadraticShepard.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ grid_gridding
33
QgsProcessingParameterFeatureSource|SHAPES|Points|-1|None|False
44
QgsProcessingParameterFeatureSource|FIELD|Attribute|5|None|False
55
Hardcoded|-TARGET_DEFINITION 0
6-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
6+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
77
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|1.000000|False|0.000000|None
88
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells|False|0
99
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target System|None|True

python/plugins/processing/algs/saga/description/ModifiedQuadraticShepard.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
Hardcoded|-TARGET_DEFINITION 0
66
QgsProcessingParameterNumber|QUADRATIC_NEIGHBORS|Quadratic Neighbors|QgsProcessingParameterNumber.Integer|13|False|5.0|None
77
QgsProcessingParameterNumber|WEIGHTING_NEIGHBORS|Weighting Neighbors|QgsProcessingParameterNumber.Integer|19|False|3.0|None
8-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
8+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
99
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1010
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1111
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ QgsProcessingParameterEnum|OVERLAP|Overlapping Areas|[0] first;[1] last;[2] mini
99
QgsProcessingParameterNumber|BLEND_DIST|Blending Distance|QgsProcessingParameterNumber.Double|10.0|False|0.0|None
1010
QgsProcessingParameterEnum|MATCH|Match|[0] none;[1] regression|False|0
1111
Hardcoded|-TARGET_DEFINITION 0
12-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
12+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1313
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1414
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1515
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/MultilevelB-SplineInterpolation(fromGrid).txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ QgsProcessingParameterNumber|EPSILON|Threshold Error|QgsProcessingParameterNumbe
77
QgsProcessingParameterNumber|LEVEL_MAX|Maximum Level|QgsProcessingParameterNumber.Double|11.0|False|1|14
88
QgsProcessingParameterBoolean|UPDATE|Update View|False
99
QgsProcessingParameterEnum|DATATYPE|Data Type|[0] same as input grid;[1] floating point
10-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
10+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1111
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1212
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1313
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/MultilevelB-SplineInterpolation.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
QgsProcessingParameterEnum|METHOD|Method|[0] without B-spline refinement;[1] with B-spline refinement
66
QgsProcessingParameterNumber|EPSILON|Threshold Error|QgsProcessingParameterNumber.Double|0.0001|False|0|None
77
Hardcoded|-TARGET_DEFINITION 0
8-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
8+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
99
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1010
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1111
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/MultilevelB-SplineInterpolationforCategories.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ grid_spline
33
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
44
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
Hardcoded|-TARGET_DEFINITION 0
6-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
6+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
77
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
88
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
99
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target system|None|True

python/plugins/processing/algs/saga/description/NaturalNeighbour.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
44
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
Hardcoded|-TARGET_DEFINITION 0
66
QgsProcessingParameterBoolean|SIBSON|Sibson|True
7-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
7+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
88
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
99
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1010
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/NearestNeighbour.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ grid_gridding
33
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
44
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
55
Hardcoded|-TARGET_DEFINITION 0
6-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
6+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
77
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
88
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
99
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/OrdinaryKriging(Global).txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
1111
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False|1|None
1212
QgsProcessingParameterString|VAR_MODEL|Variogram Model|a + b * x
1313
Hardcoded|-TARGET_DEFINITION 0
14-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
14+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1515
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1616
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1717
QgsProcessingParameterRasterDestination|PREDICTION|Prediction

python/plugins/processing/algs/saga/description/OrdinaryKriging.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
1111
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False|1|None
1212
QgsProcessingParameterString|VAR_MODEL|Variogram Model|a + b * x
1313
Hardcoded|-TARGET_DEFINITION 0
14-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
14+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1515
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1616
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1717
QgsProcessingParameterRasterDestination|PREDICTION|Prediction

python/plugins/processing/algs/saga/description/PolynomialRegression.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ QgsProcessingParameterNumber|XORDER|Maximum X Order|QgsProcessingParameterNumber
77
QgsProcessingParameterNumber|YORDER|Maximum Y Order|QgsProcessingParameterNumber.Integer|4|False|1|None
88
QgsProcessingParameterNumber|TORDER|Maximum Total Order|QgsProcessingParameterNumber.Integer|4|False|0|None
99
Hardcoded|-TARGET_DEFINITION 0
10-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
10+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1111
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1212
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1313
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

python/plugins/processing/algs/saga/description/RandomField.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ QgsProcessingParameterNumber|RANGE_MIN|Range Min|QgsProcessingParameterNumber.Do
66
QgsProcessingParameterNumber|RANGE_MAX|Range Max|QgsProcessingParameterNumber.Double|1.0|False|None|None
77
QgsProcessingParameterNumber|MEAN|Arithmetic Mean|QgsProcessingParameterNumber.Double|0.0|False|None|None
88
QgsProcessingParameterNumber|STDDEV|Standard Deviation|QgsProcessingParameterNumber.Double|1.0|False|None|None
9-
Extent USER_XMIN USER_XMAX USER_YMIN USER_YMAX
9+
QgsProcessingParameterExtent|USER_XMIN USER_XMAX USER_YMIN USER_YMAX|Output extent|None|False
1010
QgsProcessingParameterNumber|USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1111
QgsProcessingParameterEnum|USER_FITS|Method|[0] nodes;[1] cells
1212
QgsProcessingParameterRasterDestination|OUT_GRID|Random Field

python/plugins/processing/algs/saga/description/Resampling.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ QgsProcessingParameterBoolean|KEEP_TYPE|Preserve Data Type|True
55
Hardcoded|-TARGET_DEFINITION 0
66
QgsProcessingParameterEnum|SCALE_UP|Upscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation;[5] Mean Value;[6] Mean Value (cell area weighted);[7] Minimum Value;[8] Maximum Value;[9] Majority
77
QgsProcessingParameterEnum|SCALE_DOWN|Downscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
8-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
8+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
99
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1010
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1111
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target system|None|True

python/plugins/processing/algs/saga/description/ShapestoGrid.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ QgsProcessingParameterEnum|MULTIPLE|Method for Multiple Values|[0] first;[1] las
88
QgsProcessingParameterEnum|LINE_TYPE|Method for Lines|[0] thin;[1] thick
99
QgsProcessingParameterEnum|POLY_TYPE|Method for Lines|[0] node;[1] cell
1010
QgsProcessingParameterEnum|GRID_TYPE|Preferred Target Grid Type|[0] Integer (1 byte);[1] Integer (2 byte);[2] Integer (4 byte);[3] Floating Point (4 byte);[4] Floating Point (8 byte)|False|3
11-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
11+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1212
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1313
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1414
QgsProcessingParameterRasterDestination|GRID|Rasterized

python/plugins/processing/algs/saga/description/SimpleKriging.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
1111
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False| 1|None
1212
QgsProcessingParameterString|VAR_MODEL|Model
1313
Hardcoded|-TARGET_DEFINITION 0
14-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
14+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1515
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1616
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells|False|0
1717
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target System|None|True

python/plugins/processing/algs/saga/description/ThinPlateSpline(TIN).txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Hardcoded|-TARGET_DEFINITION 0
66
QgsProcessingParameterNumber|REGULARISATION|Regularisation|QgsProcessingParameterNumber.Double|0.0001|False|0.0000|None
77
QgsProcessingParameterEnum|LEVEL|Neighbourhood|[0] immediate;[1] level 1;[2] level 2
88
QgsProcessingParameterBoolean|FRAME|Add Frame|True
9-
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
9+
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
1010
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
1111
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
1212
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

0 commit comments

Comments
 (0)