Skip to content

Commit 1a2d0cc

Browse files
committedOct 26, 2018
[processing][SAGA] Fix multilevel b spline description files
Resync with SAGA parameters
1 parent 7f484ab commit 1a2d0cc

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ QgsProcessingParameterRasterLayer|GRID|Grid|None|False
44
Hardcoded|-TARGET_DEFINITION 0
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
7-
QgsProcessingParameterNumber|LEVEL_MAX|Maximum Level|QgsProcessingParameterNumber.Double|11.0|False|1|14
7+
QgsProcessingParameterNumber|LEVEL_MAX|Maximum Level|QgsProcessingParameterNumber.Integer|11|False|1|14
88
QgsProcessingParameterBoolean|UPDATE|Update View|False
99
QgsProcessingParameterEnum|DATATYPE|Data Type|[0] same as input grid;[1] floating point
1010
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ QgsProcessingParameterFeatureSource|SHAPES|Points|0|None|False
44
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
7+
QgsProcessingParameterNumber|LEVEL_MAX|Maximum Level|QgsProcessingParameterNumber.Integer|11|False|1|14
78
Hardcoded|-TARGET_DEFINITION 0
89
QgsProcessingParameterExtent|TARGET_USER_XMIN TARGET_USER_XMAX TARGET_USER_YMIN TARGET_USER_YMAX|Output extent|None|True
910
QgsProcessingParameterNumber|TARGET_USER_SIZE|Cellsize|QgsProcessingParameterNumber.Double|100.0|False|None|None

‎python/plugins/processing/tests/testdata/saga_algorithm_tests.yaml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,4 +451,38 @@ tests:
451451
SEGMENTS:
452452
hash: f2e71e3374eb229d387db8f87bc24d09b86ffc23d9fca85f324b566b
453453
type: rasterhash
454-
454+
455+
- algorithm: saga:multilevelbsplineinterpolation
456+
name: Multilevel B Spline Interpolation
457+
params:
458+
EPSILON: 0.0001
459+
FIELD: EC
460+
METHOD: 0
461+
SHAPES:
462+
name: custom/points_values.gml
463+
type: vector
464+
TARGET_USER_FITS: 0
465+
TARGET_USER_SIZE: 0.001
466+
results:
467+
TARGET_OUT_GRID:
468+
hash: 793c02e1f71091d5dcc7523bc7a872a80d20bcb29a70797479dd7740
469+
type: rasterhash
470+
471+
- algorithm: saga:multilevelbsplineinterpolationfromraster
472+
name: Multilevel B Spline Interpolation from Raster
473+
params:
474+
DATATYPE: 0
475+
EPSILON: 0.0001
476+
GRID:
477+
name: dem.tif
478+
type: raster
479+
LEVEL_MAX: 11
480+
METHOD: 0
481+
TARGET_USER_FITS: 0
482+
TARGET_USER_SIZE: 0.01
483+
UPDATE: false
484+
results:
485+
TARGET_OUT_GRID:
486+
hash: 6f81c858fc7575eaff6258b6e75bf4427d0568d5134837523b730929
487+
type: rasterhash
488+

0 commit comments

Comments
 (0)
Please sign in to comment.