Skip to content
Permalink
Browse files

Convert SAGA ParameterTableField parameters

  • Loading branch information
nyalldawson authored and alexbruy committed Aug 17, 2017
1 parent 7953936 commit 9ba414394d03539e3d26c4f9caa22e3ba41a7e66
Showing with 107 additions and 103 deletions.
  1. +14 −10 python/plugins/processing/algs/saga/SagaAlgorithm.py
  2. +1 −1 python/plugins/processing/algs/saga/description/AddPointAttributestoPolygons.txt
  3. +1 −1 python/plugins/processing/algs/saga/description/AddPolygonAttributestoPoints.txt
  4. +7 −7 python/plugins/processing/algs/saga/description/AggregatePointObservations.txt
  5. +1 −1 python/plugins/processing/algs/saga/description/B-SplineApproximation.txt
  6. +1 −1 python/plugins/processing/algs/saga/description/ChangeDateFormat.txt
  7. +6 −6 python/plugins/processing/algs/saga/description/ChangeDetection.txt
  8. +1 −1 python/plugins/processing/algs/saga/description/ChangeGridValues.txt
  9. +1 −1 python/plugins/processing/algs/saga/description/ChangeTimeFormat.txt
  10. +1 −1 python/plugins/processing/algs/saga/description/ClipPointswithPolygons.txt
  11. +4 −4 python/plugins/processing/algs/saga/description/ConfusionMatrix(GridPolygons).txt
  12. +1 −1 python/plugins/processing/algs/saga/description/ConstantGrid.txt
  13. +2 −2 python/plugins/processing/algs/saga/description/ConvertPointstoLine(s).txt
  14. +1 −1 python/plugins/processing/algs/saga/description/CubicSplineApproximation.txt
  15. +1 −1 python/plugins/processing/algs/saga/description/FillGapsinRecords.txt
  16. +1 −1 python/plugins/processing/algs/saga/description/Function.txt
  17. +1 −1 python/plugins/processing/algs/saga/description/FunctionFit.txt
  18. +2 −2 python/plugins/processing/algs/saga/description/GeographicallyWeightedMultipleRegression(Points).txt
  19. +1 −1 ...lugins/processing/algs/saga/description/GeographicallyWeightedMultipleRegression(PointsGrids).txt
  20. +2 −2 python/plugins/processing/algs/saga/description/GeographicallyWeightedMultipleRegression.txt
  21. +1 −1 python/plugins/processing/algs/saga/description/GeographicallyWeightedRegression(PointsGrid).txt
  22. +2 −2 python/plugins/processing/algs/saga/description/GeographicallyWeightedRegression.txt
  23. +1 −1 python/plugins/processing/algs/saga/description/GridCalculator.txt
  24. +1 −1 python/plugins/processing/algs/saga/description/InverseDistanceWeighted.txt
  25. +1 −1 python/plugins/processing/algs/saga/description/KernelDensityEstimation.txt
  26. +3 −3 python/plugins/processing/algs/saga/description/LineDissolve.txt
  27. +1 −1 python/plugins/processing/algs/saga/description/ModifiedQuadraticShepard.txt
  28. +1 −1 python/plugins/processing/algs/saga/description/Mosaicking.txt
  29. +1 −1 python/plugins/processing/algs/saga/description/MultilevelB-SplineInterpolation.txt
  30. +1 −1 python/plugins/processing/algs/saga/description/MultilevelB-SplineInterpolationforCategories.txt
  31. +1 −1 python/plugins/processing/algs/saga/description/MultipleRegressionAnalysis(PointsGrids).txt
  32. +1 −1 python/plugins/processing/algs/saga/description/NaturalNeighbour.txt
  33. +1 −1 python/plugins/processing/algs/saga/description/NearestNeighbour.txt
  34. +1 −1 python/plugins/processing/algs/saga/description/OrderedWeightedAveraging(OWA).txt
  35. +2 −2 python/plugins/processing/algs/saga/description/OrdinaryKriging(Global).txt
  36. +2 −2 python/plugins/processing/algs/saga/description/OrdinaryKriging.txt
  37. +1 −1 python/plugins/processing/algs/saga/description/PointStatisticsforPolygons.txt
  38. +1 −1 python/plugins/processing/algs/saga/description/PointsFilter.txt
  39. +1 −1 python/plugins/processing/algs/saga/description/PointsThinning.txt
  40. +1 −1 python/plugins/processing/algs/saga/description/PolartoCartesianCoordinates.txt
  41. +3 −3 python/plugins/processing/algs/saga/description/PolygonDissolve.txt
  42. +1 −1 python/plugins/processing/algs/saga/description/PolygonSelfIntersection.txt
  43. +1 −1 python/plugins/processing/algs/saga/description/PolynomialRegression.txt
  44. +2 −2 python/plugins/processing/algs/saga/description/Profilefrompoints.txt
  45. +1 −1 python/plugins/processing/algs/saga/description/ProfilesfromLines.txt
  46. +1 −1 python/plugins/processing/algs/saga/description/QuadTreeStructuretoShapes.txt
  47. +1 −1 python/plugins/processing/algs/saga/description/ReclassifyGridValues.txt
  48. +1 −1 python/plugins/processing/algs/saga/description/RegressionAnalysis(PointsGrid).txt
  49. +1 −1 python/plugins/processing/algs/saga/description/RegressionKriging.txt
  50. +1 −1 python/plugins/processing/algs/saga/description/RemoveDuplicatePoints.txt
  51. +1 −1 python/plugins/processing/algs/saga/description/RunningAverage.txt
  52. +1 −1 python/plugins/processing/algs/saga/description/ShapesBuffer.txt
  53. +1 −1 python/plugins/processing/algs/saga/description/ShapestoGrid.txt
  54. +1 −1 python/plugins/processing/algs/saga/description/SharedPolygonEdges.txt
  55. +1 −1 python/plugins/processing/algs/saga/description/SimpleKriging.txt
  56. +1 −1 python/plugins/processing/algs/saga/description/SupervisedClassification.txt
  57. +1 −1 python/plugins/processing/algs/saga/description/ThinPlateSpline(TIN).txt
  58. +1 −1 python/plugins/processing/algs/saga/description/ThinPlateSpline.txt
  59. +2 −2 python/plugins/processing/algs/saga/description/TopofAtmosphereReflectance.txt
  60. +1 −1 python/plugins/processing/algs/saga/description/Transectthroughpolygonshapefile.txt
  61. +1 −1 python/plugins/processing/algs/saga/description/Triangulation.txt
  62. +2 −2 python/plugins/processing/algs/saga/description/UniversalKriging(Global).txt
  63. +2 −2 python/plugins/processing/algs/saga/description/UniversalKriging.txt
  64. +1 −1 python/plugins/processing/algs/saga/description/UserDefinedFilter.txt
  65. +1 −1 python/plugins/processing/algs/saga/description/VariogramCloud.txt
  66. +1 −1 python/plugins/processing/algs/saga/description/VariogramSurface.txt
@@ -38,11 +38,13 @@
QgsProcessingParameterBoolean,
QgsProcessingParameterNumber,
QgsProcessingParameterEnum,
QgsProcessingParameterMultipleLayers)
QgsProcessingParameterMultipleLayers,
QgsProcessingParameterMatrix,
QgsProcessingParameterString,
QgsProcessingParameterField)
from processing.core.ProcessingConfig import ProcessingConfig
from processing.core.parameters import (getParameterFromString,
ParameterExtent,
ParameterFixedTable)
ParameterExtent)
from processing.core.outputs import (getOutputFromString,
OutputVector,
OutputRaster)
@@ -223,11 +225,11 @@ def processAlgorithm(self, parameters, context, feedback):
command += ' -' + param.name().strip() + " true"
else:
command += ' -' + param.name().strip() + " false"
elif isinstance(param, ParameterFixedTable):
elif isinstance(param, QgsProcessingParameterMatrix):
tempTableFile = getTempFilename('txt')
with open(tempTableFile, 'w') as f:
f.write('\t'.join([col for col in param.cols]) + '\n')
values = parameters[param.name()].split(',')
f.write('\t'.join([col for col in param.headers()]) + '\n')
values = self.parameterAsMatrix(parameters, param.name(), context)
for i in range(0, len(values), 3):
s = values[i] + '\t' + values[i + 1] + '\t' + values[i + 2] + '\n'
f.write(s)
@@ -241,10 +243,12 @@ def processAlgorithm(self, parameters, context, feedback):
for i in range(4):
command += ' -' + self.extentParamNames[i] + ' ' \
+ str(float(values[i]) + offset[i])
elif isinstance(param, (QgsProcessingParameterNumber, QgsProcessingParameterEnum)):
command += ' -' + param.name() + ' ' + str(param.value)
else:
command += ' -' + param.name() + ' "' + str(param.value) + '"'
elif isinstance(param, QgsProcessingParameterNumber):
command += ' -' + param.name() + ' ' + str(self.parameterAsDouble(parameters, param.name(), context))
elif isinstance(param, QgsProcessingParameterEnum):
command += ' -' + param.name() + ' ' + str(self.parameterAsEnum(parameters, param.name(), context))
elif isinstance(param, QgsProcessingParameterString, QgsProcessingParameterField):
command += ' -' + param.name() + ' "' + self.parameterAsString(parameters, param.name(), context) + '"'

for out in self.outputs:
command += ' -' + out.name + ' "' + out.getCompatibleFileName(self) + '"'
@@ -2,6 +2,6 @@ Add Point Attributes to Polygons
shapes_polygons
QgsProcessingParameterFeatureSource|INPUT|Polygons|2|None|False
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|FIELDS|Attributes|POINTS|-1|False
QgsProcessingParameterField|FIELDS|Attributes|None|POINTS|-1|False|False
QgsProcessingParameterBoolean|ADD_LOCATION_INFO|Add location info|False
QgsProcessingParameterVectorDestination|OUTPUT|Result
@@ -2,5 +2,5 @@ Add Polygon Attributes to Points
shapes_points
QgsProcessingParameterFeatureSource|INPUT|Points|0|None|False
QgsProcessingParameterFeatureSource|POLYGONS|Polygons|2|None|False
ParameterTableField|FIELDS|Attribute|POLYGONS|-1|False
QgsProcessingParameterField|FIELDS|Attribute|None|POLYGONS|-1|False|False
QgsProcessingParameterVectorDestination|OUTPUT|Result
@@ -1,14 +1,14 @@
Aggregate Point Observations
shapes_points
QgsProcessingParameterFeatureSource|REFERENCE|Reference Points|-1|None|False
ParameterTableField|REFERENCE_ID|ID|REFERENCE|-1|False
QgsProcessingParameterField|REFERENCE_ID|ID|None|REFERENCE|-1|False|False
QgsProcessingParameterFeatureSource|OBSERVATIONS|Observations|5|None|False
ParameterTableField|X|X|OBSERVATIONS|-1|False
ParameterTableField|Y|Y|OBSERVATIONS|-1|False
ParameterTableField|TRACK|Track|OBSERVATIONS|-1|False
ParameterTableField|DATE|Date|OBSERVATIONS|-1|False
ParameterTableField|TIME|Time|OBSERVATIONS|-1|False
ParameterTableField|PARAMETER|Parameter|OBSERVATIONS|-1|False
QgsProcessingParameterField|X|X|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterField|Y|Y|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterField|TRACK|Track|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterField|DATE|Date|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterField|TIME|Time|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterField|PARAMETER|Parameter|None|OBSERVATIONS|-1|False|False
QgsProcessingParameterNumber|EPS_TIME|Maximum Time Span (Seconds)|QgsProcessingParameterNumber.Double|60.0|False|None|None
QgsProcessingParameterNumber|EPS_SPACE|Maximum Distance|QgsProcessingParameterNumber.Double|0.002|False|None|None
OutputTable|AGGREGATED|Aggregated
@@ -1,7 +1,7 @@
B-Spline Approximation
grid_spline
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
ParameterTableField|FIELD|Attribute|SHAPES|-1|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
@@ -1,7 +1,7 @@
Change Date Format
table_tools
QgsProcessingParameterFeatureSource|TABLE|Table|5|None|False
ParameterTableField|FIELD|Date Field|TABLE|-1|False
QgsProcessingParameterField|FIELD|Date Field|None|TABLE|-1|False|False
QgsProcessingParameterEnum|FMT_IN|Input Format|[0] dd.mm.yy;[1] yy.mm.dd;[2] dd:mm:yy;[3] yy:mm:dd;[4] ddmmyyyy, fix size;[5] yyyymmdd, fix size;[6] ddmmyy, fix size;[7] yymmdd, fix size;[8] Julian Day
QgsProcessingParameterEnum|FMT_OUT|Output Format|[0] dd.mm.yy;[1] yy.mm.dd;[2] dd:mm:yy;[3] yy:mm:dd;[4] ddmmyyyy, fix size;[5] yyyymmdd, fix size;[6] ddmmyy, fix size;[7] yymmdd, fix size;[8] Julian Day
OutputTable|OUTPUT|Output
@@ -2,14 +2,14 @@ Change Detection
imagery_classification
QgsProcessingParameterRasterLayer|INITIAL|Initial State|None|False
QgsProcessingParameterFeatureSource|INI_LUT|Look-up Table|5|None|True
ParameterTableField|INI_LUT_MIN|Value|INI_LUT|-1|False
ParameterTableField|INI_LUT_MAX|Value (Maximum)|INI_LUT|-1|False
ParameterTableField|INI_LUT_NAM|Name|INI_LUT|-1|False
QgsProcessingParameterField|INI_LUT_MIN|Value|None|INI_LUT|-1|False|False
QgsProcessingParameterField|INI_LUT_MAX|Value (Maximum)|None|INI_LUT|-1|False|False
QgsProcessingParameterField|INI_LUT_NAM|Name|None|INI_LUT|-1|False|False
QgsProcessingParameterRasterLayer|FINAL|Final State|None|False
QgsProcessingParameterFeatureSource|FIN_LUT|Look-up Table|5|None|True
ParameterTableField|FIN_LUT_MIN|Value|FIN_LUT|-1|False
ParameterTableField|FIN_LUT_MAX|Value (Maximum)|FIN_LUT|-1|False
ParameterTableField|FIN_LUT_NAM|Name|FIN_LUT|-1|False
QgsProcessingParameterField|FIN_LUT_MIN|Value|None|FIN_LUT|-1|False|False
QgsProcessingParameterField|FIN_LUT_MAX|Value (Maximum)|None|FIN_LUT|-1|False|False
QgsProcessingParameterField|FIN_LUT_NAM|Name|None|FIN_LUT|-1|False|False
QgsProcessingParameterBoolean|NOCHANGE |Report Unchanged Classes|True
QgsProcessingParameterEnum|OUTPUT|Output as...|[0] cells;[1] percent;[2] area
QgsProcessingParameterRasterDestination|CHANGE|Changes
@@ -2,5 +2,5 @@ Change Grid Values
grid_tools
QgsProcessingParameterRasterLayer|GRID_IN|Grid|None|False
QgsProcessingParameterEnum|METHOD|Replace Condition|[0] Grid value equals low value;[1] Low value < grid value < high value;[2] Low value <= grid value < high value
ParameterFixedTable|LOOKUP|Lookup Table|3|Low Value;High Value;Replace with|False
QgsProcessingParameterMatrix|LOOKUP|Lookup Table|3|False|Low Value;High Value;Replace with
QgsProcessingParameterRasterDestination|GRID_OUT|Changed Grid
@@ -1,7 +1,7 @@
Change Time Format
table_tools
QgsProcessingParameterFeatureSource|TABLE|Table|5|None|False
ParameterTableField|FIELD|Time Field|TABLE|-1|False
QgsProcessingParameterField|FIELD|Time Field|None|TABLE|-1|False|False
QgsProcessingParameterEnum|FMT_IN|Input Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds
QgsProcessingParameterEnum|FMT_OUT|Output Format|[0] hh.mm.ss;[1] hh:mm:ss;[2] hhmmss, fix size;[3] hours;[4] minutes;[5] seconds
OutputTable|OUTPUT|Output
@@ -2,6 +2,6 @@ Clip Points with Polygons
shapes_points
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
QgsProcessingParameterFeatureSource|POLYGONS|Polygons|2|None|False
ParameterTableField|FIELD|Add Attribute to Clipped Points|POLYGONS|-1|False
QgsProcessingParameterField|FIELD|Add Attribute to Clipped Points|None|POLYGONS|-1|False|False
QgsProcessingParameterEnum|METHOD|Clipping Options|[0] one layer for all points;[1] separate layer for each polygon
QgsProcessingParameterVectorDestination|CLIPS|Clipped Points
@@ -2,11 +2,11 @@ Confusion Matrix (Polygons / Grid)
imagery_classification
QgsProcessingParameterRasterLayer|GRID|Classification|None|False
QgsProcessingParameterFeatureSource|GRID_LUT|Look-up Table|5|None|True
ParameterTableField|GRID_LUT_MIN|Value|GRID_LUT|-1|True
ParameterTableField|GRID_LUT_MAX|Value (Maximum)|GRID_LUT|-1|True
ParameterTableField|GRID_LUT_NAM|Name|GRID_LUT|-1|True
QgsProcessingParameterField|GRID_LUT_MIN|Value|None|GRID_LUT|-1|False|True
QgsProcessingParameterField|GRID_LUT_MAX|Value (Maximum)|None|GRID_LUT|-1|False|True
QgsProcessingParameterField|GRID_LUT_NAM|Name|None|GRID_LUT|-1|False|True
QgsProcessingParameterFeatureSource|POLYGONS|Polygons|2|None|False
ParameterTableField|FIELD|Classes|POLYGONS|-1|False
QgsProcessingParameterField|FIELD|Classes|None|POLYGONS|-1|False|False
OutputTable|CONFUSION|Confusion Matrix
OutputTable|CLASSES|Class Values
OutputTable|SUMMARY|Summary
@@ -1,6 +1,6 @@
Constant Grid
grid_tools
ParameterString|NAME|Name
QgsProcessingParameterString|NAME|Name
QgsProcessingParameterNumber|CONST|Constant Value|QgsProcessingParameterNumber.Double|1.000000|False|None|None
QgsProcessingParameterEnum|TYPE|Data Type|[0] bit;[1] unsigned 1 byte integer;[2] signed 1 byte integer;[3] unsigned 2 byte integer;[4] signed 2 byte integer;[5] unsigned 8 byte integer;[6] signed 8 byte integer;[7] 4 byte floating point number;[8] 8 byte floating point number|False|7
QgsProcessingParameterEnum|DEFINITION|Target Grid System|[0] user defined;[1] grid or grid system|False|0
@@ -1,6 +1,6 @@
Convert Points to Line(s)
shapes_lines
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|ORDER|Order by...|POINTS|-1|False
ParameterTableField|SEPARATE|Separate by...|POINTS|-1|False
QgsProcessingParameterField|ORDER|Order by...|None|POINTS|-1|False|False
QgsProcessingParameterField|SEPARATE|Separate by...|None|POINTS|-1|False|False
QgsProcessingParameterVectorDestination|LINES|Lines
@@ -1,7 +1,7 @@
Cubic Spline Approximation
grid_spline
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterNumber|NPMIN|Minimal Number of Points|QgsProcessingParameterNumber.Integer|3|False|0|None
QgsProcessingParameterNumber|NPMAX|Maximal Number of Points|QgsProcessingParameterNumber.Integer|20|False|11|59
@@ -1,6 +1,6 @@
Fill Gaps in Records
table_calculus
QgsProcessingParameterFeatureSource|TABLE|Table|5|None|False
ParameterTableField|ORDER|Order|TABLE|-1|False
QgsProcessingParameterField|ORDER|Order|None|TABLE|-1|False|False
QgsProcessingParameterEnum|METHOD|Interpolation|[0] Nearest Neighbour;[1] Linear;[2] Spline
OutputTable|NOGAPS|Table without Gaps
@@ -4,5 +4,5 @@ QgsProcessingParameterNumber|XMIN|xmin|QgsProcessingParameterNumber.Double|0.0|F
QgsProcessingParameterNumber|XMAX|xmax|QgsProcessingParameterNumber.Double|0.0|False|None|None
QgsProcessingParameterNumber|YMIN|ymin|QgsProcessingParameterNumber.Double|0.0|False|None|None
QgsProcessingParameterNumber|YMAX|ymax|QgsProcessingParameterNumber.Double|0.0|False|None|None
ParameterString|FORMUL|Formula|
QgsProcessingParameterString|FORMUL|Formula|
QgsProcessingParameterRasterDestination|RESULT|Function
@@ -4,6 +4,6 @@ QgsProcessingParameterFeatureSource|SOURCE|Source|5|None|False
QgsProcessingParameterFeatureSource|YFIELD|y - Values|5|None|False
QgsProcessingParameterEnum|USE_X|Use x -Values|[0] No;[1] Yes|False|0
QgsProcessingParameterFeatureSource|XFIELD|x - Values|5|None|False
ParameterString|FORMEL|Formula
QgsProcessingParameterString|FORMEL|Formula
QgsProcessingParameterNumber|ITER|Iterationen|QgsProcessingParameterNumber.Integer|1000|False| 1|None
QgsProcessingParameterNumber|LAMDA|Max Lamda|QgsProcessingParameterNumber.Double|10000.000000|False| 1.000000|None
@@ -1,8 +1,8 @@
GWR for Multiple Predictors
statistics_regression
QgsProcessingParameterFeatureSource|POINTS|Points|-1|None|False
ParameterTableField|DEPENDENT|Dependent Variable|POINTS|-1|False
ParameterTableField|PREDICTORS|Predictor|POINTS|-1|False
QgsProcessingParameterField|DEPENDENT|Dependent Variable|None|POINTS|-1|False|False
QgsProcessingParameterField|PREDICTORS|Predictor|None|POINTS|-1|False|False
QgsProcessingParameterEnum|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
QgsProcessingParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|QgsProcessingParameterNumber.Integer|1|False|None|None
QgsProcessingParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|True
@@ -2,7 +2,7 @@ GWR for Multiple Predictor Grids
statistics_regression
QgsProcessingParameterMultipleLayers|PREDICTORS|Predictors|3.0|None|False
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|DEPENDENT|Dependent Variable|POINTS|-1|False
QgsProcessingParameterField|DEPENDENT|Dependent Variable|None|POINTS|-1|False|False
QgsProcessingParameterEnum|RESOLUTION|Model Resolution|[0] same as predictors;[1] user defined|False|1
QgsProcessingParameterNumber|RESOLUTION_VAL|Resolution|QgsProcessingParameterNumber.Integer|1|False|0|None
QgsProcessingParameterEnum|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
@@ -1,8 +1,8 @@
GWR for Multiple Predictors (Gridded Model Output)
statistics_regression
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|DEPENDENT|Dependent Variable|POINTS|-1|False
ParameterTableField|PREDICTORS|Predictor|POINTS|-1|False
QgsProcessingParameterField|DEPENDENT|Dependent Variable|None|POINTS|-1|False|False
QgsProcessingParameterField|PREDICTORS|Predictor|None|POINTS|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterEnum|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
QgsProcessingParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|QgsProcessingParameterNumber.Integer|1|False|None|None
@@ -2,7 +2,7 @@ GWR for Single Predictor Grid
statistics_regression
QgsProcessingParameterRasterLayer|PREDICTOR|Predictor|None|False
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|DEPENDENT|Dependent Variable|POINTS|-1|False
QgsProcessingParameterField|DEPENDENT|Dependent Variable|None|POINTS|-1|False|False
QgsProcessingParameterEnum|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
QgsProcessingParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|QgsProcessingParameterNumber.Integer|1|False|None|None
QgsProcessingParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|True
@@ -1,8 +1,8 @@
GWR for Single Predictor (Gridded Model Output)
statistics_regression
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|DEPENDENT|Dependent Variable|POINTS|-1|False
ParameterTableField|PREDICTOR|Predictor|POINTS|-1|False
QgsProcessingParameterField|DEPENDENT|Dependent Variable|None|POINTS|-1|False|False
QgsProcessingParameterField|PREDICTOR|Predictor|None|POINTS|-1|False|False
Hardcoded|-TARGET_DEFINITION 0
QgsProcessingParameterEnum|DW_WEIGHTING|Weighting Function|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting
QgsProcessingParameterNumber|DW_IDW_POWER|Inverse Distance Weighting Power|QgsProcessingParameterNumber.Integer|1|False|None|None
@@ -3,7 +3,7 @@ grid_calculus
AllowUnmatching
QgsProcessingParameterRasterLayer|GRIDS|Main input layer|None|False
QgsProcessingParameterMultipleLayers|XGRIDS|Additional layers|3|None|True
ParameterString|FORMULA|Formula|
QgsProcessingParameterString|FORMULA|Formula|
QgsProcessingParameterEnum|RESAMPLING|Resampling Method|[0] Nearest Neighbour;[1] Bilinear Interpolation;[2] Bicubic Spline Interpolation;[3] B-Spline Interpolation|False|3
QgsProcessingParameterBoolean|USE_NODATA|Use NoData|False
QgsProcessingParameterEnum|TYPE|Output Data Type|[0] bit;[1] unsigned 1 byte integer;[2] signed 1 byte integer;[3] unsigned 2 byte integer;[4] signed 2 byte integer;[5] unsigned 4 byte integer;[6] signed 4 byte integer;[7] 4 byte floating point number;[8] 8 byte floating point number|False|7
@@ -1,7 +1,7 @@
Inverse Distance Weighted
grid_gridding
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
QgsProcessingParameterField|FIELD|Attribute|None|SHAPES|-1|False|False
QgsProcessingParameterEnum|DW_WEIGHTING|Distance Weighting|[0] no distance weighting;[1] inverse distance to a power;[2] exponential;[3] gaussian weighting scheme
QgsProcessingParameterNumber|DW_IDW_POWER|Inverse Distance Power|QgsProcessingParameterNumber.Integer|2|False|0.0|None
QgsProcessingParameterBoolean|DW_IDW_OFFSET|Inverse Distance Offset|False
@@ -1,7 +1,7 @@
Kernel Density Estimation
grid_gridding
QgsProcessingParameterFeatureSource|POINTS|Points|0|None|False
ParameterTableField|POPULATION|Weight|POINTS|-1|False
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
@@ -1,8 +1,8 @@
Line Dissolve
shapes_lines
QgsProcessingParameterFeatureSource|LINES|Lines|-1|None|False
ParameterTableField|FIELD_1|1. Attribute|LINES|-1|False
ParameterTableField|FIELD_2|2. Attribute|LINES|-1|False
ParameterTableField|FIELD_3|3. Attribute|LINES|-1|False
QgsProcessingParameterField|FIELD_1|1. Attribute|None|LINES|-1|False|False
QgsProcessingParameterField|FIELD_2|2. Attribute|None|LINES|-1|False|False
QgsProcessingParameterField|FIELD_3|3. Attribute|None|LINES|-1|False|False
QgsProcessingParameterEnum|ALL|Dissolve...|[0] lines with same attribute value(s);[1] all lines
QgsProcessingParameterVectorDestination|DISSOLVED|Dissolved Lines
@@ -1,7 +1,7 @@
Modified Quadratic Shepard
grid_gridding
QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
ParameterTableField|FIELD|Attribute|SHAPES|-1|False
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

0 comments on commit 9ba4143

Please sign in to comment.
You can’t perform that action at this time.