Skip to content
Permalink
Browse files

Merge pull request #3973 from ghtmtt/good_test2

[processing] other gdal tests
  • Loading branch information
alexbruy committed Jan 10, 2017
2 parents 9be984c + eb826fb commit 9909109928d12df5d47d1a365a4535388d860a2b
Showing with 91 additions and 0 deletions.
  1. +91 −0 python/plugins/processing/tests/testdata/gdal_algorithm_tests.yaml
@@ -454,3 +454,94 @@ tests:
OUTPUT:
hash: c9dc888254a571e7fbf66691fb72b35f030f87decf59ce67e32ad89d
type: rasterhash

- algorithm: gdal:roughness
name: standard roughness
params:
BAND: 1
COMPUTE_EDGES: false
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: ee2b317e022da1001378fac60c9b613a74d3566b9870f9d121e6e322
type: rasterhash

- algorithm: gdal:roughness
name: roughness with edges
params:
BAND: 1
COMPUTE_EDGES: true
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: aba5167b8a2e97a93b22d406e0363f91c151fd353c0fc56ce24ac5fc
type: rasterhash

- algorithm: gdal:triterrainruggednessindex
name: standard TRI
params:
BAND: 1
COMPUTE_EDGES: false
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: c888764a08fae72a129dfff4947149c3185532373d33d4537ecf409c
type: rasterhash

- algorithm: gdal:triterrainruggednessindex
name: TRI with edges
params:
BAND: 1
COMPUTE_EDGES: true
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: 07376c74de869323125ceacbb5e34438655ff73f63d4b3ff3e268f7f
type: rasterhash

- algorithm: gdal:nearblack
name: standard near black
params:
INPUT:
name: dem.tif
type: raster
NEAR: 15
WHITE: false
results:
OUTPUT:
hash: fff4a08498e93494f3f2cf1a9074451e6fd68341849aedc9e2c45e6a
type: rasterhash

- algorithm: gdal:tpitopographicpositionindex
name: standard TPI
params:
BAND: 1
COMPUTE_EDGES: false
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: 4af1fe42d2a75c92eb9edcad9d77bd6cae958c0212de11e320fad689
type: rasterhash

- algorithm: gdal:tpitopographicpositionindex
name: TPI with edges
params:
BAND: 1
COMPUTE_EDGES: true
INPUT:
name: dem.tif
type: raster
results:
OUTPUT:
hash: f468bb08cbede2b606018a7a45a51cc221307a8421a11daefabeac12
type: rasterhash

0 comments on commit 9909109

Please sign in to comment.
You can’t perform that action at this time.