Rdocumentation
powered by
Learn R Programming
tmap (version 0.6)
split_lines_poly: Split lines by polygons
Description
Split a lines shape object by a polygon shape object. Data of the corresponding polygons is appended to the line segments (Experimental)
Usage
split_lines_poly(shp.lines, shp.poly, variables.lines, variables.poly)
Arguments
shp.lines
The shape object that contains the lines
shp.poly
The shape object that contains the polygons
variables.lines
Names of the variables of
shp.lines
that are appended to the split lines shape object.
variables.poly
Names of the variables of
shp.poly
that are appended to the split lines shape object.
Value
shape object with splitted lines