This is an internal utility function to convert bounding boxes into coordinate pairs.
calc_haversine_distance(point_1, point_2)
A vector of length 1 containing distance between points
Coordinate pairs (as length-2 numeric vectors with the names "lat" and "lng") to calculate distance between.
Other utilities:
addbuff
,
deg_to_rad()
,
get_centroid()
,
rad_to_deg()