surveilling-surveillance/streetview/util.py

8 lines
205 B
Python
Raw Permalink Normal View History

2021-05-20 20:20:48 +00:00
from geographiclib.geodesic import Geodesic
def get_heading(lat1, lon1, lat2, lon2):
return Geodesic.WGS84.Inverse(lat1, lon1, lat2, lon2)['azi1']
#def is_close(lat1, lon1, lat2, lon2, d=None):