summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Wiesmann <daniel.wiesmann@gmail.com>2015-03-17 11:33:25 +0000
committerTim Graham <timograham@gmail.com>2015-03-17 08:16:12 -0400
commitb9cb81570e24284156e09ab1fdc3c19a8d563b07 (patch)
tree88795d041e6a73451601e4458aba0ff10e6386ff /tests
parentf269c1d6f6dcc22c0a781f3223c6da0a4483b06e (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/gdal_tests/test_raster.py3
1 files changed, 2 insertions, 1 deletions
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]