[processing] add test for color relief gdal

This commit is contained in:
matteo 2017-01-24 11:59:15 +01:00 committed by Matthias Kuhn
parent ecf1f5a576
commit a49fc8ab99
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,5 @@
0 110 220 110
85 240 250 160
175 230 220 170
200 220 220 220
250 250 250 250

View File

@ -545,3 +545,37 @@ tests:
OUTPUT:
hash: f468bb08cbede2b606018a7a45a51cc221307a8421a11daefabeac12
type: rasterhash
- algorithm: gdal:colorrelief
name: Standard Color Relief
params:
BAND: 1
COLOR_TABLE:
name: custom/color_relief.txt
type: file
COMPUTE_EDGES: false
INPUT:
name: dem.tif
type: raster
MATCH_MODE: '0'
results:
OUTPUT:
hash: f714597fadc9cfc3f5263dc0e35f7c6ba285de238dce439e4988faac
type: rasterhash
- algorithm: gdal:colorrelief
name: Color Relief with edges
params:
BAND: 1
COLOR_TABLE:
name: custom/color_relief.txt
type: file
COMPUTE_EDGES: true
INPUT:
name: dem.tif
type: raster
MATCH_MODE: '0'
results:
OUTPUT:
hash: f714597fadc9cfc3f5263dc0e35f7c6ba285de238dce439e4988faac
type: rasterhash