radtraq.utils.calculate_azimuth_distance_from_lat_lon
- radtraq.utils.calculate_azimuth_distance_from_lat_lon(curr_lat=None, curr_lon=None, target_lat=None, target_lon=None)[source]
Returns dictionary of distance and direction between two pairs of lat/lon values.
…
- Parameters:
curr_lat (float) – The latitude of first location assumed to be in same units as target_lat
curr_lon (float) – The longitude of first location assumed to be in same units as target_lon
target_lat (float) – The latitude of second location assumed to be in same units as curr_lat
target_lon (float) – The longitude of second location assumed to be in same units as curr_lon
- Returns:
Dictionary containing azimuth and distance from first location to second location. Azimiuth values are in degrees and distance is in meters.
- Return type: