[R-sig-Geo] Distance of points along an irregular linear feature - not quite "alongTrackDistance" in geosphere

Rawlins, Barry G. bgr at bgs.ac.uk
Mon Jan 6 12:52:31 CET 2014


Hello

I would like to compute distances between a series of points along an irregular linear feature (in this case a river channel). We have 36 sampling locations along the channel and I want to compute the downstream distances of each from the start of the channel. It appears that the function alongTrackDistance in the "geosphere" package does this for a regular path but not an irregular one. Do you know if there is a package/function that would do so for an irregular path? I have done some searching but cannot find anything.

I assume the computations necessary to do this would discretise a linear feature into a series of points and measure the cumulative distance along it.

Best wishes, Barry


This message (and any attachments) is for the recipient ...{{dropped:6}}



More information about the R-sig-Geo mailing list