Skip to content

Commit

Permalink
[processing] Fixes #18183: SAGA "output extent" should not be mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Mar 10, 2018
1 parent e1ad1cb commit 23172a1
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 35 deletions.
7 changes: 1 addition & 6 deletions python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -148,11 +148,6 @@ def defineCharacteristicsFromFile(self):
self.params.append(getParameterFromString(line))
elif line.startswith('AllowUnmatching'):
self.allow_nonmatching_grid_extents = True
elif line.startswith('Extent'):
# An extent parameter that wraps 4 SAGA numerical parameters
self.extentParamNames = line[6:].strip().split(' ')
self.params.append(QgsProcessingParameterExtent(self.OUTPUT_EXTENT,
'Output extent'))
else:
pass # TODO
#self.addOutput(getOutputFromString(line))
Expand Down Expand Up @@ -289,7 +284,7 @@ def processAlgorithm(self, parameters, context, feedback):
values.append(rect.yMaximum())

for i in range(4):
command += ' -{} {}'.format(self.extentParamNames[i], float(values[i]) + offset[i])
command += ' -{} {}'.format(param.name().split(' ')[i], float(values[i]) + offset[i])
elif isinstance(param, QgsProcessingParameterNumber):
if param.dataType() == QgsProcessingParameterNumber.Integer:
command += ' -{} {}'.format(param.name(), self.parameterAsInt(parameters, param.name(), context))
Expand Down
Expand Up @@ -4,7 +4,7 @@ QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterNumber|LEVEL|Resolution|QgsProcessingParameterNumber.Double|1.0|False|0.001|None
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -2,8 +2,8 @@ Create Lines Graticule|Create Graticule
shapes_tools
Hardcoded|-TYPE 0
QgsProcessingParameterFeatureSource|EXTENT|Extent|-1|None|True
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
QgsProcessingParameterExtent|EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX|Output extent|None|False
QgsProcessingParameterNumber|DIVISION_X|Division Width|QgsProcessingParameterNumber.Double|1.0|False|None|None
QgsProcessingParameterNumber|DIVISION_Y|Division Height|QgsProcessingParameterNumber.Double|1.0|False|None|None
QgsProcessingParameterEnum|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|False|0
QgsProcessingParameterVectorDestination|GRATICULE_LINE|Lines Graticule
QgsProcessingParameterVectorDestination|GRATICULE_LINE|Lines Graticule
Expand Up @@ -2,8 +2,8 @@ Create Polygons Graticule|Create Graticule
shapes_tools
Hardcoded|-TYPE 1
QgsProcessingParameterFeatureSource|EXTENT|Extent|-1|None|True
Extent EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX
QgsProcessingParameterExtent|EXTENT_X_MIN EXTENT_X_MAX EXTENT_Y_MIN EXTENT_Y_MAX|Output extent|None|False
QgsProcessingParameterNumber|DIVISION_X|Division Width|QgsProcessingParameterNumber.Double|1.0|False|None|None
QgsProcessingParameterNumber|DIVISION_Y|Division Height|QgsProcessingParameterNumber.Double|1.0|False|None|None
QgsProcessingParameterEnum|ALIGNMENT|Alignment|[0] Bottom left;[1] Top left;[2] Bottom right;[3] Top right;[4] Centered|False|0
QgsProcessingParameterVectorDestination|GRATICULE_RECT|Rectangle Graticule
QgsProcessingParameterVectorDestination|GRATICULE_RECT|Rectangle Graticule
Expand Up @@ -7,7 +7,7 @@ QgsProcessingParameterNumber|NPMIN|Minimal Number of Points|QgsProcessingParamet
QgsProcessingParameterNumber|NPMAX|Maximal Number of Points|QgsProcessingParameterNumber.Integer|20|False|11|59
QgsProcessingParameterNumber|NPPC|Points per Square|QgsProcessingParameterNumber.Integer|5|False|1|None
QgsProcessingParameterNumber|K|Tolerance|QgsProcessingParameterNumber.Double|140.0|False|0|None
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -14,7 +14,7 @@ QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number
QgsProcessingParameterNumber|SEARCH_POINTS_MIN|Minimum|QgsProcessingParameterNumber.Integer|4|False|1|None
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNumber.Integer|20|False|1|None
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Direction|[0] all directions;[1] quadrants
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterVectorDestination|REGRESSION|Regression
Expand Down
Expand Up @@ -14,7 +14,7 @@ QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number
QgsProcessingParameterNumber|SEARCH_POINTS_MIN|Minimum|QgsProcessingParameterNumber.Integer|4|False|1|None
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNumber.Integer|20|False|1|None
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Direction|[0] all directions;[1] quadrants
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Down
Expand Up @@ -14,7 +14,7 @@ QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum|QgsProcessingParameterNum
QgsProcessingParameterEnum|SEARCH_DIRECTION|Search Mode|[0] all directions;[1] quadrants
QgsProcessingParameterEnum|SEARCH_POINTS_ALL|Number of Points|[0] maximum number of nearest points;[1] all points
QgsProcessingParameterNumber|SEARCH_POINTS_MAX|Maximum Number of Points|QgsProcessingParameterNumber.Integer|10|False|None|None
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_DEFINITION|Target Grid System|[0] user defined;[1] grid or grid system
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
Expand Down
Expand Up @@ -5,7 +5,7 @@ QgsProcessingParameterField|POPULATION|Weight|None|POINTS|-1|False|False
QgsProcessingParameterNumber|RADIUS|Radius|QgsProcessingParameterNumber.Integer|10|False|None|None
QgsProcessingParameterEnum|KERNEL|Kernel|[0] quartic kernel;[1] gaussian kernel
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Kernel
Expand Up @@ -3,7 +3,7 @@ grid_gridding
QgsProcessingParameterFeatureSource|SHAPES|Points|-1|None|False
QgsProcessingParameterFeatureSource|FIELD|Attribute|5|None|False
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|1.000000|False|0.000000|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells|False|0
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target System|None|True
Expand Down
Expand Up @@ -5,7 +5,7 @@ QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterNumber|QUADRATIC_NEIGHBORS|Quadratic Neighbors|QgsProcessingParameterNumber.Integer|13|False|5.0|None
QgsProcessingParameterNumber|WEIGHTING_NEIGHBORS|Weighting Neighbors|QgsProcessingParameterNumber.Integer|19|False|3.0|None
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -9,7 +9,7 @@ QgsProcessingParameterEnum|OVERLAP|Overlapping Areas|[0] first;[1] last;[2] mini
QgsProcessingParameterNumber|BLEND_DIST|Blending Distance|QgsProcessingParameterNumber.Double|10.0|False|0.0|None
QgsProcessingParameterEnum|MATCH|Match|[0] none;[1] regression|False|0
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -7,7 +7,7 @@ QgsProcessingParameterNumber|EPSILON|Threshold Error|QgsProcessingParameterNumbe
QgsProcessingParameterNumber|LEVEL_MAX|Maximum Level|QgsProcessingParameterNumber.Double|11.0|False|1|14
QgsProcessingParameterBoolean|UPDATE|Update View|False
QgsProcessingParameterEnum|DATATYPE|Data Type|[0] same as input grid;[1] floating point
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -5,7 +5,7 @@ QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
QgsProcessingParameterEnum|METHOD|Method|[0] without B-spline refinement;[1] with B-spline refinement
QgsProcessingParameterNumber|EPSILON|Threshold Error|QgsProcessingParameterNumber.Double|0.0001|False|0|None
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -3,7 +3,7 @@ grid_spline
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target system|None|True
Expand Down
Expand Up @@ -4,7 +4,7 @@ QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterBoolean|SIBSON|Sibson|True
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -3,7 +3,7 @@ grid_gridding
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Up @@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False|1|None
QgsProcessingParameterString|VAR_MODEL|Variogram Model|a + b * x
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|PREDICTION|Prediction
Expand Down
Expand Up @@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False|1|None
QgsProcessingParameterString|VAR_MODEL|Variogram Model|a + b * x
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|PREDICTION|Prediction
Expand Down
Expand Up @@ -7,7 +7,7 @@ QgsProcessingParameterNumber|XORDER|Maximum X Order|QgsProcessingParameterNumber
QgsProcessingParameterNumber|YORDER|Maximum Y Order|QgsProcessingParameterNumber.Integer|4|False|1|None
QgsProcessingParameterNumber|TORDER|Maximum Total Order|QgsProcessingParameterNumber.Integer|4|False|0|None
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid
Expand Down
Expand Up @@ -6,7 +6,7 @@ QgsProcessingParameterNumber|RANGE_MIN|Range Min|QgsProcessingParameterNumber.Do
QgsProcessingParameterNumber|RANGE_MAX|Range Max|QgsProcessingParameterNumber.Double|1.0|False|None|None
QgsProcessingParameterNumber|MEAN|Arithmetic Mean|QgsProcessingParameterNumber.Double|0.0|False|None|None
QgsProcessingParameterNumber|STDDEV|Standard Deviation|QgsProcessingParameterNumber.Double|1.0|False|None|None
Extent USER_XMIN USER_XMAX USER_YMIN USER_YMAX
QgsProcessingParameterExtent|USER_XMIN USER_XMAX USER_YMIN USER_YMAX|Output extent|None|False
QgsProcessingParameterNumber|USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|USER_FITS|Method|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|OUT_GRID|Random Field
Expand Up @@ -5,7 +5,7 @@ QgsProcessingParameterBoolean|KEEP_TYPE|Preserve Data Type|True
Hardcoded|-TARGET_DEFINITION 0
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
QgsProcessingParameterEnum|SCALE_DOWN|Downscaling Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target system|None|True
Expand Down
Expand Up @@ -8,7 +8,7 @@ QgsProcessingParameterEnum|MULTIPLE|Method for Multiple Values|[0] first;[1] las
QgsProcessingParameterEnum|LINE_TYPE|Method for Lines|[0] thin;[1] thick
QgsProcessingParameterEnum|POLY_TYPE|Method for Lines|[0] node;[1] cell
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
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|GRID|Rasterized
Expand Up @@ -11,7 +11,7 @@ QgsProcessingParameterNumber|VAR_NCLASSES|Lag Distance Classes|QgsProcessingPara
QgsProcessingParameterNumber|VAR_NSKIP|Skip|QgsProcessingParameterNumber.Integer|1|False| 1|None
QgsProcessingParameterString|VAR_MODEL|Model
Hardcoded|-TARGET_DEFINITION 0
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells|False|0
QgsProcessingParameterRasterLayer|TARGET_TEMPLATE|Target System|None|True
Expand Down
Expand Up @@ -6,7 +6,7 @@ Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterNumber|REGULARISATION|Regularisation|QgsProcessingParameterNumber.Double|0.0001|False|0.0000|None
QgsProcessingParameterEnum|LEVEL|Neighbourhood|[0] immediate;[1] level 1;[2] level 2
QgsProcessingParameterBoolean|FRAME|Add Frame|True
Extent TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None
QgsProcessingParameterEnum|TARGET_USER_FITS|Fit|[0] nodes;[1] cells
QgsProcessingParameterRasterDestination|TARGET_OUT_GRID|Grid

0 comments on commit 23172a1

Please sign in to comment.