surveilling-surveillance/streetview/util.py
2021-05-20 13:22:04 -07:00

8 lines
No EOL
205 B
Python

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):