1
0
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:
Leo
2023-01-11 23:00:10 +05:30
committed by Mariusz Felisiak
parent c2118d72d6
commit 5da5f3773e
5 changed files with 7 additions and 10 deletions

View File

@@ -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()))