break_one_line: Load an sf object with l feature consisting of a...

Description Usage Arguments Value

View source: R/break_linestrings.R

Description

This function loads a sf object with 1 feature, the active geometry "multilinestring" and breaks each of these lines to many points that make up the lines and stitches them back up to linestrings.

Usage

1
break_one_line(line, geom = "geometry", crs = 27700)

Arguments

line

An sf object or sf dataframe with 1 multilinestring row/feature

geom

Field containing the active geometry

crs

Default is 27700

Value

Returns the same sf object with the multilinestring replaced with smaller linestrings


tayoso2/sfXtra documentation built on Dec. 23, 2021, 7:50 a.m.