mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] add test for color relief gdal
This commit is contained in:
parent
ecf1f5a576
commit
a49fc8ab99
5
python/plugins/processing/tests/testdata/custom/color_relief.txt
vendored
Normal file
5
python/plugins/processing/tests/testdata/custom/color_relief.txt
vendored
Normal 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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user