surveilling-surveillance/streetview/util.py

8 lines
205 B
Python
Raw Normal View History

2021-05-20 22:20:48 +02: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):