simple_lines {spNetwork}R Documentation

LineString to simple Line

Description

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.

Usage

simple_lines(lines)

Arguments

lines

The featue collection of linestrings to modify

Value

An featue collection of linestrings

Examples


data(mtl_network)
new_lines <- simple_lines(mtl_network)


[Package spNetwork version 0.4.4.3 Index]