diff --git a/notifications_utils/polygons.py b/notifications_utils/polygons.py index 0f7b65eea..ae2579fe6 100644 --- a/notifications_utils/polygons.py +++ b/notifications_utils/polygons.py @@ -24,11 +24,11 @@ # earth because the earth is not a perfect sphere. # — # The UK, west to east - "epsg:32629", # Zone 29N: Between 12°W and 6°W, equator and 84°N - "epsg:32630", # Zone 30N: Between 6°W and 0°W, equator and 84°N - "epsg:32631", # Zone 31N: Between 0°E and 6°E, equator and 84°N + "EPSG:32629", # Zone 29N: Between 12°W and 6°W, equator and 84°N + "EPSG:32630", # Zone 30N: Between 6°W and 0°W, equator and 84°N + "EPSG:32631", # Zone 31N: Between 0°E and 6°E, equator and 84°N # Santa Claus village (Finland) - "epsg:32635", # Zone 35N: Between 24°E and 30°E, equator and 84°N + "EPSG:32635", # Zone 35N: Between 24°E and 30°E, equator and 84°N } } diff --git a/setup.py b/setup.py index 97a0c40da..957dede82 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ "Flask-Redis>=0.4.0", "pyyaml>=5.3.1", "phonenumbers>=8.12.13", - "pyproj>=3.2.1", + "pyproj>=3.4.1", "pytz>=2020.4", "smartypants>=2.0.1", "pypdf2>=2.0.0", diff --git a/tests/test_polygons.py b/tests/test_polygons.py index 51b58e0d5..77e3a9101 100644 --- a/tests/test_polygons.py +++ b/tests/test_polygons.py @@ -407,7 +407,7 @@ def test_precision(): def test_passes_through_coordinates_without_converting_to_crs(): without_crs = Polygons([HACKNEY_MARSHES]) - with_crs = Polygons([HACKNEY_MARSHES], utm_crs="epsg:32630") + with_crs = Polygons([HACKNEY_MARSHES], utm_crs="EPSG:32630") assert without_crs.as_coordinate_pairs_lat_long == with_crs.as_coordinate_pairs_lat_long