powered by
Great-circle distance function to calculate spatial distance from lat-long data. Called by various functions.
gcdist(x, y)
vector of longitudes.
vector of latitudes.
The distance in km is returned