Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add converter between AV2 city coordinate systems, and WGS84 and UTM #28

Merged
merged 14 commits into from
Apr 12, 2022
Prev Previous commit
Next Next commit
add missing imports
  • Loading branch information
John Lambert committed Mar 26, 2022
commit 925ab94fe09910eb413b886115ada04571fe4355
3 changes: 2 additions & 1 deletion tests/geometry/test_utm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np

import av2.geometry.utm as geo_utils
from av2.geometry.utm import CityName, CITY_ORIGIN_LATLONG_DICT


def test_convert_city_coords_to_wgs84_atx() -> None:
Expand Down Expand Up @@ -49,7 +50,7 @@ def test_convert_city_coords_to_wgs84_wdc() -> None:


def test_convert_gps_to_utm() -> None:
""" """
"""Convert Pittsburgh city origin (given in WGS84) to UTM coordinates."""
lat, long = CITY_ORIGIN_LATLONG_DICT[CityName.PIT]
utm_coords = geo_utils.convert_gps_to_utm(lat, long, city_name=CityName.PIT)

Expand Down