gcOuterDist: Great Circle Distance

Description Usage Arguments Details Value

Description

Calculate great circle distancces between all pairs of points.

Usage

1
gcOuterDist(x1, x2)

Arguments

x1

a two column matrix of (lon,lat) locations.

x2

a two column matrix of (lon,lat) locations.

Details

Compute the great circle distances from every point in x1 to every point is x2, and return the result as a matrix.

Value

vector of interpoint distances (km)


KateGoodenough/RoL-SGAT documentation built on June 11, 2019, 1:29 p.m.