Skip to content

Commit

Permalink
Fixed typo 'ellisoidal' ->'ellipsoidal' (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
djm93dev authored Jun 20, 2023
1 parent 0b62f14 commit 94b01fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproj/crs/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Ellipsoidal2DCSAxis(BaseEnum):
"""
.. versionadded:: 2.5.0
Ellisoidal 2D Coordinate System Axis for creating axis with
Ellipsoidal 2D Coordinate System Axis for creating axis with
with :class:`pyproj.crs.coordinate_system.Ellipsoidal2DCS`
Attributes
Expand All @@ -99,7 +99,7 @@ class Ellipsoidal3DCSAxis(BaseEnum):
"""
.. versionadded:: 2.5.0
Ellisoidal 3D Coordinate System Axis for creating axis with
Ellipsoidal 3D Coordinate System Axis for creating axis with
with :class:`pyproj.crs.coordinate_system.Ellipsoidal3DCS`
Attributes
Expand Down
4 changes: 2 additions & 2 deletions test/test_datum_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ def test_shift_utm33_to_wgs84():
assert_almost_equal((back_lon, back_lat, back_z), (WGS84_lon, WGS84_lat, WGS84_z))


def test_shift_wgs84_to_gaussb_no_ellisoidal_height():
def test_shift_wgs84_to_gaussb_no_ellipsoidal_height():
with pytest.warns(FutureWarning):
xgb, ygb, zgb = transform(WGS84_PROJ, GAUSSSB_PROJ, WGS84_lon, WGS84_lat, 0)
assert_almost_equal((xgb, ygb, zgb), (GB_x, 5055619.899, 0), decimal=2)


def test_shift_gaussb_to_wgs84_no_ellisoidal_height():
def test_shift_gaussb_to_wgs84_no_ellipsoidal_height():
with pytest.warns(FutureWarning):
back_lon, back_lat, back_z = transform(GAUSSSB_PROJ, WGS84_PROJ, GB_x, GB_y, 0)
assert_almost_equal(
Expand Down

0 comments on commit 94b01fd

Please sign in to comment.