Not exported. This is very approximate - a package is available if a more accurate distance is needed.

Not exported. This is very approximate - a package is available if a more accurate distance is needed.

earth.dist(long1, lat1, long2, lat2)

earth.dist(long1, lat1, long2, lat2)

Arguments

long1

Longitude of the first point, in decimal degrees.

lat1

Latitude of the first point, in decimal degrees.

long2

Longitude of the second point, in decimal degrees.

lat2

Latitude of the second point, in decimal degrees.

Value

Approximate distance in kilometres.