From b9cb81570e24284156e09ab1fdc3c19a8d563b07 Mon Sep 17 00:00:00 2001 From: Daniel Wiesmann Date: Tue, 17 Mar 2015 11:33:25 +0000 Subject: Made SRID a required parameter for GDALRaster instantiation; refs #23804. Earlier versions of GDAL do not allow the srid to be set to 0, so it should be a required parameter to ensure compatibility. --- tests/gis_tests/gdal_tests/test_raster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/gis_tests/gdal_tests/test_raster.py b/tests/gis_tests/gdal_tests/test_raster.py index 36b4aa7547..301d1f7c99 100644 --- a/tests/gis_tests/gdal_tests/test_raster.py +++ b/tests/gis_tests/gdal_tests/test_raster.py @@ -190,7 +190,8 @@ class GDALBandTests(unittest.TestCase): 'name': 'mem_rst', 'width': 10, 'height': 10, - 'nr_of_bands': 1 + 'nr_of_bands': 1, + 'srid': 4326, }) bandmem = rsmem.bands[0] -- cgit v1.3