Skip to content

Commit

Permalink
[processing][SAGA] Fix definition of Patching algorithm
Browse files Browse the repository at this point in the history
And add unit test

Fixes #20698
  • Loading branch information
nyalldawson committed Dec 4, 2018
1 parent dcba255 commit 455e04e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 455e04e

Please sign in to comment.