Skip to content
Permalink
Browse files

[processing] gdal raster calculator test

  • Loading branch information
ghtmtt authored and m-kuhn committed Mar 4, 2017
1 parent 79b6c29 commit 71aac8afb3ee8dec2b46ae52a560f421b7da0329
Showing with 14 additions and 0 deletions.
  1. +14 −0 python/plugins/processing/tests/testdata/gdal_algorithm_tests.yaml
@@ -630,3 +630,17 @@ tests:
OUTPUT:
hash: a497763f44380ec33acab572a926a6516e875f2284fc55e702abbdfc
type: rasterhash

- algorithm: gdal:rastercalculator
name: Simple Raster Calculator test with only 1 raster
params:
BAND_A: '1'
FORMULA: A/2
INPUT_A:
name: dem.tif
type: raster
RTYPE: '5'
results:
OUTPUT:
hash: 2d0585dc8166fbe3cec7d9e6fd66e95cc9bdb1043b3b0fa7cbdfef4c
type: rasterhash

0 comments on commit 71aac8a

Please sign in to comment.
You can’t perform that action at this time.