remove_loop_lines {spNetwork}R Documentation

Remove loops

Description

Remove from a sf object with linestring type geometries the lines that have the same starting and ending point.

Usage

remove_loop_lines(lines, digits)

Arguments

lines

A sf object with linestring type geometries

digits

An integer indicating the number of digits to keep for the spatial coordinates

Value

A sf object with linestring type geometries

Examples

#This is an internal function, no example provided

[Package spNetwork version 0.4.4.6 Index]