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

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