QGIS/python/plugins/processing/tests/testdata/otb_algorithm_tests.yaml
2019-02-23 05:20:17 +10:00

67 lines
1.6 KiB
YAML

# See ../README.md for a description of the file format
tests:
- algorithm: otb:Smoothing
name: Test (otb:Smoothing anidif)
params:
in:
name: raster.tif
type: file
type: anidif
type.anidif.conductance: 2.0
type.anidif.nbiter: 10
type.anidif.timestep: 0.125
results:
out:
hash: 481539d39d92ed9a63c493235a4696be79d82f25608f190ddedb4cdf
type: rasterhash
- algorithm: otb:Smoothing
name: Test (otb:Smoothing mean)
params:
in:
name: raster.tif
type: file
type: gaussian
type.gaussian.radius: 4.0
results:
out:
hash: b3fbccd6f41052317a435567a2633dae1d9b66772a4d8a3323d9b1c5
type: rasterhash
- algorithm: otb:HaralickTextureExtraction
name: Test (otb:HaralickTextureExtraction)
params:
channel: 1
in:
name: raster with spaces.tif
type: file
parameters.max: 255.0
parameters.min: 0.0
parameters.nbbin: 8
parameters.xoff: 1
parameters.xrad: 2
parameters.yoff: 1
parameters.yrad: 2
step: 1
texture: simple
results:
out:
hash: 3132281993d8474d5404f01fb5afa68c9648c282da5546823281cc1c
type: rasterhash
- algorithm: otb:Rasterization
name: Test (otb:Rasterization)
params:
in:
name: polys.gml
type: file
epsg: EPSG:4326
spx: 1
spy: 1
outputpixeltype: 3
results:
out:
hash: 987b1488daaa16d09ad6f40039ee85101c557354a4d821d3f31ad235
type: rasterhash