mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34234 -- Dropped support for PROJ 4.
This commit is contained in:
@@ -19,8 +19,6 @@ class TestSRS:
|
||||
setattr(self, key, value)
|
||||
|
||||
|
||||
WGS84_proj = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs "
|
||||
|
||||
# Some Spatial Reference examples
|
||||
srlist = (
|
||||
TestSRS(
|
||||
@@ -245,7 +243,7 @@ class SpatialRefTest(SimpleTestCase):
|
||||
"+no_defs",
|
||||
]
|
||||
srs1 = SpatialReference(srlist[0].wkt)
|
||||
srs2 = SpatialReference(WGS84_proj)
|
||||
srs2 = SpatialReference("+proj=longlat +datum=WGS84 +no_defs")
|
||||
self.assertTrue(all(part in proj_parts for part in srs1.proj.split()))
|
||||
self.assertTrue(all(part in proj_parts for part in srs2.proj.split()))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user