Added tests for gdal extractprojection

This commit is contained in:
H Tveite 2018-11-06 10:23:22 +01:00
parent 566d5726d7
commit b9355556c5
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]

View File

@ -0,0 +1,6 @@
0.00010000
0.00000000
0.00000000
-0.00010000
18.66634794
45.81165144

View File

@ -122,6 +122,34 @@ tests:
name: expected/gdal/contour.gml
type: vector
- algorithm: gdal:extractprojection
name: Extract Projection (extractprojection)
params:
INPUT:
name: dem.tif
type: raster
PRJ_FILE_CREATE: True
results:
WORLD_FILE:
name: expected/gdal/dem.wld
type: file
PRJ_FILE:
name: expected/gdal/dem.prj
type: file
- algorithm: gdal:extractprojection
name: Extract Projection (extractprojection)
params:
INPUT:
name: dem.tif
type: raster
PRJ_FILE_CREATE: False
results:
WORLD_FILE:
name: expected/gdal/dem.wld
type: file
PRJ_FILE: None
- algorithm: gdal:gdalinfo
name: gdalinfo
params: