Skip to content
Permalink
Browse files

[processing][grass] Fix v.surf.bspline definition, add test

  • Loading branch information
nyalldawson committed Aug 9, 2018
1 parent 113e163 commit 08a8ea7b72c5a5ca9ec64a9f6a1b4894fbd24bde
@@ -12,5 +12,5 @@ QgsProcessingParameterEnum|solver|Type of solver which should solve the symmetri
QgsProcessingParameterNumber|maxit|Maximum number of iteration used to solve the linear equation system|QgsProcessingParameterNumber.Integer|10000|True|1|None
QgsProcessingParameterNumber|error|Error break criteria for iterative solver|QgsProcessingParameterNumber.Double|0.000001|True|0.0|None
QgsProcessingParameterNumber|memory|Maximum memory to be used (in MB)|QgsProcessingParameterNumber.Integer|300|True|1|None
QgsProcessingParameterVectorDestination|output|Output vector|QgsProcessing.TypeVectorAnyGeometry|None|True
QgsProcessingParameterVectorDestination|output|Output vector|QgsProcessing.TypeVectorAnyGeometry|None|True|False
QgsProcessingParameterRasterDestination|raster_output|Interpolated spline|None|True
@@ -243,3 +243,31 @@ tests:
output:
name: expected/grass7/v_net_steiner.shp
type: vector

- algorithm: grass7:v.surf.bspline
name: v.surf.bspline - raster output
params:
GRASS_MIN_AREA_PARAMETER: 0.0001
GRASS_OUTPUT_TYPE_PARAMETER: 0
GRASS_RASTER_FORMAT_META: ''
GRASS_RASTER_FORMAT_OPT: ''
GRASS_REGION_CELLSIZE_PARAMETER: 1.0
GRASS_SNAP_TOLERANCE_PARAMETER: -1.0
GRASS_VECTOR_DSCO: ''
GRASS_VECTOR_LCO: ''
column: elev
error: 1.0e-06
ew_step: 0.5
input:
name: pointsz.gml
type: vector
lambda_i: 0.01
maxit: 10000
memory: 300
method: 0
ns_step: 0.5
solver: 0
results:
raster_output:
hash: 7aa8e68b697e1558e6621fa23b5f1f01a5826649ffc31fd255e709a1
type: rasterhash

0 comments on commit 08a8ea7

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