remove_loop_lines: Remove loops

View source: R/geometrical_functions_sf.R

remove_loop_linesR 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

spNetwork documentation built on Aug. 24, 2023, 5:10 p.m.