Extract latitude and longitude from a provided object
Source:R/calc_haversine_distance.R
calc_haversine_distance.Rd
This is an internal utility function to convert bounding boxes into coordinate pairs.
Arguments
- point_1, point_2
Coordinate pairs (as length-2 numeric vectors with the names "lat" and "lng") to calculate distance between.
See also
Other utilities:
addbuff
,
deg_to_rad()
,
get_centroid()
,
rad_to_deg()