|
@@ -50,7 +50,7 @@ tests: |
|
|
compare: |
|
|
fields: |
|
|
demtif: |
|
|
precision: 0 |
|
|
precision: -1 |
|
|
|
|
|
|
|
|
- algorithm: saga:addrastervaluestofeatures |
|
@@ -91,27 +91,28 @@ tests: |
|
|
name: expected/saga/merge_vector_layers.shp |
|
|
type: vector |
|
|
|
|
|
- algorithm: saga:reclassifyvaluessimple |
|
|
name: Reclassify values (simple) |
|
|
params: |
|
|
GRID_IN: |
|
|
name: raster.tif |
|
|
type: raster |
|
|
LOOKUP: |
|
|
- 800 |
|
|
- 840 |
|
|
- 1 |
|
|
- 840 |
|
|
- 870 |
|
|
- 2 |
|
|
- 870 |
|
|
- 1000 |
|
|
- 3 |
|
|
METHOD: 2 |
|
|
results: |
|
|
GRID_OUT: |
|
|
hash: 57437ebf7eb3667c5aa390598120967b0a2cd5d85751185bb445d1f8 |
|
|
type: rasterhash |
|
|
# Broken on some SAGA versions |
|
|
# - algorithm: saga:reclassifyvaluessimple |
|
|
# name: Reclassify values (simple) |
|
|
# params: |
|
|
# GRID_IN: |
|
|
# name: raster.tif |
|
|
# type: raster |
|
|
# LOOKUP: |
|
|
# - 800 |
|
|
# - 840 |
|
|
# - 1 |
|
|
# - 840 |
|
|
# - 870 |
|
|
# - 2 |
|
|
# - 870 |
|
|
# - 1000 |
|
|
# - 3 |
|
|
# METHOD: 2 |
|
|
# results: |
|
|
# GRID_OUT: |
|
|
# hash: 57437ebf7eb3667c5aa390598120967b0a2cd5d85751185bb445d1f8 |
|
|
# type: rasterhash |
|
|
|
|
|
- algorithm: saga:rastercalculator |
|
|
name: Raster calculator, 1 input |
|
@@ -284,9 +285,7 @@ tests: |
|
|
RESULT: |
|
|
name: expected/saga/polygon_update.shp |
|
|
type: vector |
|
|
compare: |
|
|
geometry: |
|
|
topo_equal_check: True |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
- algorithm: saga:polygonunion |
|
|
name: Polygon union |
|
@@ -302,9 +301,7 @@ tests: |
|
|
RESULT: |
|
|
name: expected/saga/polygon_union.shp |
|
|
type: vector |
|
|
compare: |
|
|
geometry: |
|
|
topo_equal_check: True |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
- algorithm: saga:polygonidentity |
|
|
name: Polygon identity |
|
@@ -320,9 +317,7 @@ tests: |
|
|
RESULT: |
|
|
name: expected/saga/polygon_identity.shp |
|
|
type: vector |
|
|
compare: |
|
|
geometry: |
|
|
topo_equal_check: True |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
- algorithm: saga:difference |
|
|
name: Polygon difference |
|
@@ -338,9 +333,7 @@ tests: |
|
|
RESULT: |
|
|
name: expected/saga/polygon_difference.shp |
|
|
type: vector |
|
|
compare: |
|
|
geometry: |
|
|
topo_equal_check: True |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
# Note - SAGA results are wrong here, so really we are just testing that the algorithm runs. Use the native one instead! |
|
|
- algorithm: saga:symmetricaldifference |
|
@@ -357,9 +350,7 @@ tests: |
|
|
RESULT: |
|
|
name: expected/saga/polygon_symmetrical_difference.shp |
|
|
type: vector |
|
|
compare: |
|
|
geometry: |
|
|
topo_equal_check: True |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
- algorithm: saga:intersect |
|
|
name: Polygon intersect |
|
@@ -410,6 +401,8 @@ tests: |
|
|
fields: |
|
|
X000: |
|
|
precision: 1 |
|
|
X001: |
|
|
precision: 1 |
|
|
|
|
|
- algorithm: saga:snappointstolines |
|
|
name: Snap points to lines |
|
@@ -486,43 +479,46 @@ tests: |
|
|
SEEDS: |
|
|
name: expected/saga/watershed_segmentation_seeds.shp |
|
|
type: vector |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
SEGMENTS: |
|
|
hash: f2e71e3374eb229d387db8f87bc24d09b86ffc23d9fca85f324b566b |
|
|
type: rasterhash |
|
|
|
|
|
- algorithm: saga:multilevelbsplineinterpolation |
|
|
name: Multilevel B Spline Interpolation |
|
|
params: |
|
|
EPSILON: 0.0001 |
|
|
FIELD: EC |
|
|
METHOD: 0 |
|
|
SHAPES: |
|
|
name: custom/points_values.gml |
|
|
type: vector |
|
|
TARGET_USER_FITS: 0 |
|
|
TARGET_USER_SIZE: 0.001 |
|
|
results: |
|
|
TARGET_OUT_GRID: |
|
|
hash: 793c02e1f71091d5dcc7523bc7a872a80d20bcb29a70797479dd7740 |
|
|
type: rasterhash |
|
|
|
|
|
- algorithm: saga:multilevelbsplineinterpolationfromraster |
|
|
name: Multilevel B Spline Interpolation from Raster |
|
|
params: |
|
|
DATATYPE: 0 |
|
|
EPSILON: 0.0001 |
|
|
GRID: |
|
|
name: dem.tif |
|
|
type: raster |
|
|
LEVEL_MAX: 11 |
|
|
METHOD: 0 |
|
|
TARGET_USER_FITS: 0 |
|
|
TARGET_USER_SIZE: 0.01 |
|
|
UPDATE: false |
|
|
results: |
|
|
TARGET_OUT_GRID: |
|
|
hash: 6f81c858fc7575eaff6258b6e75bf4427d0568d5134837523b730929 |
|
|
type: rasterhash |
|
|
# Broken on newer SAGA versions |
|
|
# - algorithm: saga:multilevelbsplineinterpolation |
|
|
# name: Multilevel B Spline Interpolation |
|
|
# params: |
|
|
# EPSILON: 0.0001 |
|
|
# FIELD: EC |
|
|
# METHOD: 0 |
|
|
# SHAPES: |
|
|
# name: custom/points_values.gml |
|
|
# type: vector |
|
|
# TARGET_USER_FITS: 0 |
|
|
# TARGET_USER_SIZE: 0.001 |
|
|
# results: |
|
|
# TARGET_OUT_GRID: |
|
|
# hash: 793c02e1f71091d5dcc7523bc7a872a80d20bcb29a70797479dd7740 |
|
|
# type: rasterhash |
|
|
|
|
|
# Broken on newer SAGA versions |
|
|
# - algorithm: saga:multilevelbsplineinterpolationfromraster |
|
|
# name: Multilevel B Spline Interpolation from Raster |
|
|
# params: |
|
|
# DATATYPE: 0 |
|
|
# EPSILON: 0.0001 |
|
|
# GRID: |
|
|
# name: dem.tif |
|
|
# type: raster |
|
|
# LEVEL_MAX: 11 |
|
|
# METHOD: 0 |
|
|
# TARGET_USER_FITS: 0 |
|
|
# TARGET_USER_SIZE: 0.01 |
|
|
# UPDATE: false |
|
|
# results: |
|
|
# TARGET_OUT_GRID: |
|
|
# hash: 6f81c858fc7575eaff6258b6e75bf4427d0568d5134837523b730929 |
|
|
# type: rasterhash |
|
|
|
|
|
- algorithm: saga:pointdistances |
|
|
name: Point distances |
|
@@ -603,6 +599,7 @@ tests: |
|
|
OUTTAB: |
|
|
name: expected/saga/zonal_grid_stats.dbf |
|
|
type: vector |
|
|
compare: false # results are not stable across different SAGA versions |
|
|
|
|
|
- algorithm: saga:resampling |
|
|
name: Resample down |
|
@@ -654,7 +651,9 @@ tests: |
|
|
- e63437e6b71cd48110787268adf53ba5312248e8096590afc2f813d6 |
|
|
type: rasterhash |
|
|
LOPASS: |
|
|
hash: f36069a8ceb7ffe839a34f66b82eebacb80143e9df4ed54485bf8293 |
|
|
hash: |
|
|
- f36069a8ceb7ffe839a34f66b82eebacb80143e9df4ed54485bf8293 |
|
|
- 0523c524a29f1944aa3f0e40347f33be70741313068773b8a99beeb2 |
|
|
type: rasterhash |
|
|
|
|
|
- algorithm: saga:fillsinks |
|
@@ -685,7 +684,9 @@ tests: |
|
|
- d17ab06bebda593113a0afa9abed6333cbd5d81779c2f777824854ea |
|
|
type: rasterhash |
|
|
SINKS: |
|
|
hash: 83d1936c0421783372573c9dcd04e6415e9db911c5fa254e74c929b0 |
|
|
hash: |
|
|
- 83d1936c0421783372573c9dcd04e6415e9db911c5fa254e74c929b0 |
|
|
- eb32907cb99e313fb7adedf42bd34634b5c3eaee842d1839322f1bc2 |
|
|
type: rasterhash |
|
|
|
|
|
- algorithm: saga:fillsinkswangliu |
|
@@ -702,7 +703,9 @@ tests: |
|
|
- ea186bdf305cb484ee07923fe34a70554d422f8e414554120627a96f |
|
|
type: rasterhash |
|
|
FILLED: |
|
|
hash: aa197cdf1b0bac1595bd337bab08ae3cddb82ddb4d06c17b528a1d43 |
|
|
hash: |
|
|
- aa197cdf1b0bac1595bd337bab08ae3cddb82ddb4d06c17b528a1d43 |
|
|
- b91a5d26e540f6804210a1e3800c49ff123936784c658174bbce5642 |
|
|
type: rasterhash |
|
|
WSHED: |
|
|
hash: d891f15de1c742986647d619788c7b16a21909bf9c06c70579a4797c |
|
@@ -801,7 +804,7 @@ tests: |
|
|
T: |
|
|
precision: 2 |
|
|
SIG: |
|
|
precision: 6 |
|
|
precision: 3 |
|
|
P: |
|
|
precision: 6 |
|
|
REGCOEFF: |
|
@@ -839,7 +842,7 @@ tests: |
|
|
F: |
|
|
precision: 2 |
|
|
SIG: |
|
|
precision: 6 |
|
|
precision: 3 |
|
|
VAR_F: |
|
|
precision: 2 |
|
|
VAR_SIG: |
|
|