Rdocumentation
powered by
Learn R Programming
tmap (version 0.6)
split_lines_equal: Split lines in segments of equal length.
Description
Split lines in segments of equal length. (Experimental)
Usage
split_lines_equal(shp, dist = 1000, include.last = FALSE)
Arguments
shp
The shape object that contains the lines
dist
Distance per segment
include.last
Include last point, even though the distance is less than dist from the previous point?
Value
SpatialLinesDataFrame