No need to compare result from GDAL contour alg -- we already have lots of tests covering the creation

of the matching GDAL command, and we can trust that GDAL will generate contours correctly

Avoids fragility in the test when underlying GDAL contour algorithm/logic changes
This commit is contained in:
Nyall Dawson 2021-02-05 08:45:02 +10:00
parent 8730268766
commit 735c62d93b

View File

@ -111,7 +111,6 @@ tests:
BAND: 1
CREATE_3D: false
FIELD_NAME: ELEV
CREATE_3D: true
IGNORE_NODATA: false
INPUT:
name: dem.tif
@ -123,6 +122,7 @@ tests:
OUTPUT:
name: expected/gdal/contour.gml
type: vector
compare: False
- algorithm: gdal:extractprojection
name: Extract Projection (extractprojection)