[processing][SAGA] Fix definition of Patching algorithm

And add unit test

Fixes #20698
This commit is contained in:
Nyall Dawson 2018-12-04 09:32:28 +10:00
parent dcba25501f
commit 455e04ea66
3 changed files with 17 additions and 2 deletions

View File

@ -2,5 +2,5 @@ Patching
grid_tools
QgsProcessingParameterRasterLayer|ORIGINAL|Grid|None|False
QgsProcessingParameterRasterLayer|ADDITIONAL|Patch Grid|None|False
QgsProcessingParameterEnum|INTERPOLATION|Interpolation Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
QgsProcessingParameterEnum|RESAMPLING|Interpolation Method|[0] Nearest Neighbor;[1] Bilinear Interpolation;[2] Inverse Distance Interpolation;[3] Bicubic Spline Interpolation;[4] B-Spline Interpolation
QgsProcessingParameterRasterDestination|COMPLETED|Completed Grid

Binary file not shown.

View File

@ -499,4 +499,19 @@ tests:
DISTANCES:
name: expected/saga/point_distances.dbf
type: vector
- algorithm: saga:patching
name: Patching
params:
ADDITIONAL:
name: dem.tif
type: raster
ORIGINAL:
name: custom/dem_gaps.tif
type: raster
RESAMPLING: 0
results:
COMPLETED:
hash: e016ba480e7c9a7cfe7bbbec50f4f3df0e796be7641fe68744f541b5
type: rasterhash