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
remove type: ignore, as not needed in CI
  • Loading branch information
John Lambert committed Mar 27, 2022
commit 5d29a1db4b7f5424a0f79e90dfabcffe3978f496
2 changes: 1 addition & 1 deletion src/av2/geometry/utm.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def convert_city_coords_to_utm(points_city: Union[NDArrayFloat, NDArrayInt], cit
# get (easting, northing) of origin
origin_utm = convert_gps_to_utm(lat=lat, long=long, city_name=city_name)

points_utm: NDArrayFloat = points_city.astype(float) + np.array(origin_utm, dtype=float) # type: ignore
points_utm: NDArrayFloat = points_city.astype(float) + np.array(origin_utm, dtype=float)
return points_utm


Expand Down