splitSLDF {SpatialGraph} | R Documentation |
Split 1-Line Lines in a SpatialLines or a SpatialLinesDataFrame by intersection with a point dataset
Description
splitSLDF
divides the 1-Line Lines in the SpatialLines
or the
SpatialLinesDataFrame
at intersections with the input point dataset
Usage
splitSLDF(SLDF, SPDF, dmax=NULL)
Arguments
SLDF |
length-1 SpatialLinesDataFrame or SpatialLines object |
SPDF |
SpatialPointsDataFrame |
dmax |
maximum distance between points in |
Details
splitPolyline
obtain the closest points in the SpatialLinesDataFrame to a
given input set of points. Those closest points are used to divide the
polylines in a number of transects. The individual 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 sequence of transects may substantially
differ form the input polyline at rupture zones. The input parameter
dmax
is provided as a mean to avoid too strange splitting
results. Setting dmax to a ver low value will reduce the spureous
results, but also the input points need to be closer to the lines for
the adequate recognition of splitting points
Value
A SpatialLinesDataFrame or a SpatialLines, according to the input