Skip to content

Commit 8cc96e6

Browse files
committedJan 7, 2019
[processing][SAGA] Resync Fill Sinks descriptions, add tests
Refs #20051 (cherry picked from commit efd54f8)
1 parent ed75a17 commit 8cc96e6

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed
 
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Fill Sinks XXL (Wang & Liu)
22
ta_preprocessor
33
QgsProcessingParameterRasterLayer|ELEV|DEM|None|False
4-
QgsProcessingParameterNumber|MINSLOPE|Minimum Slope [Degree]|QgsProcessingParameterNumber.Double|0.01|False|0.0|None
4+
QgsProcessingParameterNumber|MINSLOPE|Minimum Slope [Degree]|QgsProcessingParameterNumber.Double|0.1|False|0.0|None
55
QgsProcessingParameterRasterDestination|FILLED|Filled DEM

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,3 +611,60 @@ tests:
611611
hash: f36069a8ceb7ffe839a34f66b82eebacb80143e9df4ed54485bf8293
612612
type: rasterhash
613613

614+
- algorithm: saga:fillsinks
615+
name: Fill sinks (Planchon/Darboux)
616+
params:
617+
DEM:
618+
name: dem.tif
619+
type: raster
620+
MINSLOPE: 0.01
621+
results:
622+
RESULT:
623+
hash: aa197cdf1b0bac1595bd337bab08ae3cddb82ddb4d06c17b528a1d43
624+
type: rasterhash
625+
626+
- algorithm: saga:fillsinksqmofesp
627+
name: Fill sinks (QM of ESP)
628+
params:
629+
DEM:
630+
name: dem.tif
631+
type: raster
632+
DZFILL: 0.01
633+
results:
634+
FILLED:
635+
hash: ebd24bb7d011f0c4d87d1e4748e89d90d5a78cfa820070ece87df4d0
636+
type: rasterhash
637+
SINKS:
638+
hash: 83d1936c0421783372573c9dcd04e6415e9db911c5fa254e74c929b0
639+
type: rasterhash
640+
641+
- algorithm: saga:fillsinkswangliu
642+
name: Fill sinks Wang & Liu
643+
params:
644+
ELEV:
645+
name: dem.tif
646+
type: raster
647+
MINSLOPE: 0.01
648+
results:
649+
FDIR:
650+
hash: 24367e9ca83c757628f329029d82341fe9111138e019138c949c34c0
651+
type: rasterhash
652+
FILLED:
653+
hash: aa197cdf1b0bac1595bd337bab08ae3cddb82ddb4d06c17b528a1d43
654+
type: rasterhash
655+
WSHED:
656+
hash: d891f15de1c742986647d619788c7b16a21909bf9c06c70579a4797c
657+
type: rasterhash
658+
659+
- algorithm: saga:fillsinksxxlwangliu
660+
name: Fill Sinks Wang & Lui XXL
661+
params:
662+
ELEV:
663+
name: dem.tif
664+
type: raster
665+
MINSLOPE: 0.1
666+
results:
667+
FILLED:
668+
hash: aa197cdf1b0bac1595bd337bab08ae3cddb82ddb4d06c17b528a1d43
669+
type: rasterhash
670+

0 commit comments

Comments
 (0)
Please sign in to comment.