midlines_debit: Removes small groups of lines

View source: R/midlines_polish.R

midlines_debitR Documentation

Removes small groups of lines

Description

Lines are removed if, when grouped into contiguous groups, the total length of the cluster is less the specified length. The dataset of ungrouped lines is returned.

Usage

midlines_debit(x, length)

Arguments

x

a feature collection of sf linestrings. The input is intended to be the output of midlines_clean

length

the length below which groups of lines will be removed

Details

Unlike other functions in this package, midlines-debit will remove these line segments, rather than creating a flag variable.


RichardPatterson/midlines documentation built on March 25, 2024, 1:38 a.m.