Skip to content

Commit 9909109

Browse files
authored
Merge pull request #3973 from ghtmtt/good_test2
[processing] other gdal tests
2 parents 9be984c + eb826fb commit 9909109

1 file changed

Lines changed: 91 additions & 0 deletions

File tree

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

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,3 +454,94 @@ tests:
454454
OUTPUT:
455455
hash: c9dc888254a571e7fbf66691fb72b35f030f87decf59ce67e32ad89d
456456
type: rasterhash
457+
458+
- algorithm: gdal:roughness
459+
name: standard roughness
460+
params:
461+
BAND: 1
462+
COMPUTE_EDGES: false
463+
INPUT:
464+
name: dem.tif
465+
type: raster
466+
results:
467+
OUTPUT:
468+
hash: ee2b317e022da1001378fac60c9b613a74d3566b9870f9d121e6e322
469+
type: rasterhash
470+
471+
- algorithm: gdal:roughness
472+
name: roughness with edges
473+
params:
474+
BAND: 1
475+
COMPUTE_EDGES: true
476+
INPUT:
477+
name: dem.tif
478+
type: raster
479+
results:
480+
OUTPUT:
481+
hash: aba5167b8a2e97a93b22d406e0363f91c151fd353c0fc56ce24ac5fc
482+
type: rasterhash
483+
484+
- algorithm: gdal:triterrainruggednessindex
485+
name: standard TRI
486+
params:
487+
BAND: 1
488+
COMPUTE_EDGES: false
489+
INPUT:
490+
name: dem.tif
491+
type: raster
492+
results:
493+
OUTPUT:
494+
hash: c888764a08fae72a129dfff4947149c3185532373d33d4537ecf409c
495+
type: rasterhash
496+
497+
- algorithm: gdal:triterrainruggednessindex
498+
name: TRI with edges
499+
params:
500+
BAND: 1
501+
COMPUTE_EDGES: true
502+
INPUT:
503+
name: dem.tif
504+
type: raster
505+
results:
506+
OUTPUT:
507+
hash: 07376c74de869323125ceacbb5e34438655ff73f63d4b3ff3e268f7f
508+
type: rasterhash
509+
510+
- algorithm: gdal:nearblack
511+
name: standard near black
512+
params:
513+
INPUT:
514+
name: dem.tif
515+
type: raster
516+
NEAR: 15
517+
WHITE: false
518+
results:
519+
OUTPUT:
520+
hash: fff4a08498e93494f3f2cf1a9074451e6fd68341849aedc9e2c45e6a
521+
type: rasterhash
522+
523+
- algorithm: gdal:tpitopographicpositionindex
524+
name: standard TPI
525+
params:
526+
BAND: 1
527+
COMPUTE_EDGES: false
528+
INPUT:
529+
name: dem.tif
530+
type: raster
531+
results:
532+
OUTPUT:
533+
hash: 4af1fe42d2a75c92eb9edcad9d77bd6cae958c0212de11e320fad689
534+
type: rasterhash
535+
536+
- algorithm: gdal:tpitopographicpositionindex
537+
name: TPI with edges
538+
params:
539+
BAND: 1
540+
COMPUTE_EDGES: true
541+
INPUT:
542+
name: dem.tif
543+
type: raster
544+
results:
545+
OUTPUT:
546+
hash: f468bb08cbede2b606018a7a45a51cc221307a8421a11daefabeac12
547+
type: rasterhash

0 commit comments

Comments
 (0)