Learn R Programming

spNetwork (version 0.4.4.6)

remove_loop_lines: 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)

Value

A sf object with linestring type geometries

Arguments

lines

A sf object with linestring type geometries

digits

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

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab