Atlantiraptor Docs

geo_distance

Type: Function

Great circle distance in kilometres between two latitude/longitude points.

Argument Type Description
lat1 float64 (required) Latitude of the first point in degrees.
lon1 float64 (required) Longitude of the first point in degrees.
lat2 float64 (required) Latitude of the second point in degrees.
lon2 float64 (required) Longitude of the second point in degrees.

Platforms: macOS, Linux, Windows