trackDist: Distance along a path

Description Usage Arguments Details Value

Description

Distances along a path

Usage

1
2
3

Arguments

x

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

z

a two column matrix of (lon,lat) intermediate locations along the path.

Details

The trackDist computes the great circle distances (in km) between successive locations along path. The trackDist2 accepts a second sequence of intermediate points, and computes the great circle distances along the dog leg paths from x[i,] to z[i,] to x[i+1,].

Value

vector of interpoint distances (km)


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