Skip to content

Commit

Permalink
[processing][grass] Fix v.surf.bspline definition, add test
Browse files Browse the repository at this point in the history
(cherry-picked from 08a8ea7)
  • Loading branch information
nyalldawson committed Aug 9, 2018
1 parent ec96588 commit 489aa04
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Expand Up @@ -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
Expand Up @@ -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 489aa04

Please sign in to comment.