spherely.distance#
- spherely.distance(a, b, radius=spherely.EARTH_RADIUS_METERS)#
Calculate the distance between two geographies.
- Parameters:
a (
Geography
or array_like) – Geography object(s).b (
Geography
or array_like) – Geography object(s).radius (
float
, optional) – Radius of Earth in meters, default 6,371,010.
- Returns: