Split the polylines of a feature collection of linestrings in simple segments at each vertex. The values of the columns are duplicated for each segment.
simple_lines(lines)
The featue collection of linestrings to modify
An featue collection of linestrings
# \donttest{
data(mtl_network)
new_lines <- simple_lines(mtl_network)
# }