View source: R/splitPolyline.R
splitPolyline | R Documentation |
splitPolyline
returns a list with a number of transects along a
polyline
splitPolyline(xy, xyp, dmax)
xy |
2-column [x,y] matrix defining the polyline nodes |
xyp |
2-column [x,y] matrix with a point set |
dmax |
maximum distance between points in |
splitPolyline
obtain the closest points in a polyline to a
given input set of points. Those closest points are used to divide the
polyline in a number of transects. The indivudual transects are
clipped to the input point dataset, so the different transects are
continuous in space. Note that if the input points is quite appart
from the polyline, the output seqence of transect may substantially
differ form the input polyline at rupture zones
A list in which each element is a matrix representing an individual polyline
Spatial-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.