orthproj: Performs an orthogonal projection to a curve.
Description
Finds curve coordinates of points, given points and a curve it returns the
length of the points orhogonal projection and the distance traveled to the
projection from a given origin on the curve.
Usage
orthproj(pts, curve)
Arguments
pts
A list containing the points as \$lat and \$lon, you may also use
geolocator.
curve
The curve to be used for projection.
Value
Returns a dataframe with vectors pardist (length of orthogonal
projection) and perdist (how far traveled alongst the curve).