mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] disable test for script-based algorithms as GDAL scripts
are not available on Travis
This commit is contained in:
parent
21e4fc515e
commit
c0e47a71ae
@ -123,18 +123,19 @@ tests:
|
||||
- 'Band 1 Block=373x5 Type=Float32, ColorInterp=Gray'
|
||||
- ' NoData Value=-99999'
|
||||
|
||||
- algorithm: gdal:gdal2xyz
|
||||
name: gdal2xyz
|
||||
params:
|
||||
BAND: 1
|
||||
CSV: false
|
||||
INPUT:
|
||||
name: dem.tif
|
||||
type: raster
|
||||
results:
|
||||
OUTPUT:
|
||||
name: expected/gdal/xyz.csv
|
||||
type: file
|
||||
# Disabled as gdal2xyz.py is not available on Travis
|
||||
# - algorithm: gdal:gdal2xyz
|
||||
# name: gdal2xyz
|
||||
# params:
|
||||
# BAND: 1
|
||||
# CSV: false
|
||||
# INPUT:
|
||||
# name: dem.tif
|
||||
# type: raster
|
||||
# results:
|
||||
# OUTPUT:
|
||||
# name: expected/gdal/xyz.csv
|
||||
# type: file
|
||||
|
||||
- algorithm: gdal:tileindex
|
||||
name: Tile index (gdaltindex)
|
||||
@ -300,38 +301,40 @@ tests:
|
||||
hash: fff4a08498e93494f3f2cf1a9074451e6fd68341849aedc9e2c45e6a
|
||||
type: rasterhash
|
||||
|
||||
- algorithm: gdal:polygonize
|
||||
name: Polygonize
|
||||
params:
|
||||
BAND: 1
|
||||
EIGHT_CONNECTEDNESS: false
|
||||
FIELD: DN
|
||||
INPUT:
|
||||
name: dem.tif
|
||||
type: raster
|
||||
results:
|
||||
OUTPUT:
|
||||
name: expected/gdal/polygonize.gml
|
||||
type: vector
|
||||
# Disabled as gdal2_poligonize.py is not available on Travis
|
||||
# - algorithm: gdal:polygonize
|
||||
# name: Polygonize
|
||||
# params:
|
||||
# BAND: 1
|
||||
# EIGHT_CONNECTEDNESS: false
|
||||
# FIELD: DN
|
||||
# INPUT:
|
||||
# name: dem.tif
|
||||
# type: raster
|
||||
# results:
|
||||
# OUTPUT:
|
||||
# name: expected/gdal/polygonize.gml
|
||||
# type: vector
|
||||
|
||||
- algorithm: gdal:proximity
|
||||
name: Proximity
|
||||
params:
|
||||
BAND: 1
|
||||
DATA_TYPE: 5
|
||||
INPUT:
|
||||
name: dem.tif
|
||||
type: raster
|
||||
MAX_DISTANCE: 0.0
|
||||
NODATA: 0.0
|
||||
OPTIONS: ''
|
||||
REPLACE: 0.0
|
||||
UNITS: 1
|
||||
VALUES: '90'
|
||||
results:
|
||||
OUTPUT:
|
||||
hash: 32802271d1ce083ca14078bfefaef6300ae8809af11f6a4270583d0c
|
||||
type: rasterhash
|
||||
# Disabled as gdal2_proximity.py is not available on Travis
|
||||
# - algorithm: gdal:proximity
|
||||
# name: Proximity
|
||||
# params:
|
||||
# BAND: 1
|
||||
# DATA_TYPE: 5
|
||||
# INPUT:
|
||||
# name: dem.tif
|
||||
# type: raster
|
||||
# MAX_DISTANCE: 0.0
|
||||
# NODATA: 0.0
|
||||
# OPTIONS: ''
|
||||
# REPLACE: 0.0
|
||||
# UNITS: 1
|
||||
# VALUES: '90'
|
||||
# results:
|
||||
# OUTPUT:
|
||||
# hash: 32802271d1ce083ca14078bfefaef6300ae8809af11f6a4270583d0c
|
||||
# type: rasterhash
|
||||
|
||||
- algorithm: gdal:roughness
|
||||
name: Roughness
|
||||
@ -347,22 +350,23 @@ tests:
|
||||
hash: ee2b317e022da1001378fac60c9b613a74d3566b9870f9d121e6e322
|
||||
type: rasterhash
|
||||
|
||||
- algorithm: gdal:sieve
|
||||
name: Sieve
|
||||
params:
|
||||
EIGHT_CONNECTEDNESS: false
|
||||
INPUT:
|
||||
name: dem.tif
|
||||
type: raster
|
||||
MASK_LAYER:
|
||||
name: dem.tif
|
||||
type: raster
|
||||
NO_MASK: false
|
||||
THRESHOLD: 10
|
||||
results:
|
||||
OUTPUT:
|
||||
hash: 1ea6a8c838add299dc3f6f9f529eb5945664f68bae97be9ca80b1754
|
||||
type: rasterhash
|
||||
# Disabled as gdal_sieve is not available on Travis
|
||||
# - algorithm: gdal:sieve
|
||||
# name: Sieve
|
||||
# params:
|
||||
# EIGHT_CONNECTEDNESS: false
|
||||
# INPUT:
|
||||
# name: dem.tif
|
||||
# type: raster
|
||||
# MASK_LAYER:
|
||||
# name: dem.tif
|
||||
# type: raster
|
||||
# NO_MASK: false
|
||||
# THRESHOLD: 10
|
||||
# results:
|
||||
# OUTPUT:
|
||||
# hash: 1ea6a8c838add299dc3f6f9f529eb5945664f68bae97be9ca80b1754
|
||||
# type: rasterhash
|
||||
|
||||
- algorithm: gdal:slope
|
||||
name: Slope
|
||||
|
Loading…
x
Reference in New Issue
Block a user