simple_lines: LineString to simple Line

View source: R/geometrical_functions_sf.R

simple_linesR 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)


spNetwork documentation built on June 22, 2024, 9:40 a.m.