heal_edges: Heal edges

View source: R/geometrical_functions_sf.R

heal_edgesR Documentation

Heal edges

Description

Merge Lines if they form a longer linestring without external intersections (experimental)

Usage

heal_edges(lines, digits = 3, verbose = TRUE)

Arguments

lines

A feature collection of linestrings

digits

An integer indicating the number of digits to keep in coordinates

verbose

A boolean indicating if a progress bar should be displayed

Value

A feature collection of linestrings with the eventually merged geometries. Note that if lines are merged, only the attributes of the first line are preserved

Examples

#This is an internal function, no example provided

JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.