remove_line_endpoints_from_split: Splits line into segments using SfSpHelpers::split_lines and...

View source: R/linestring_split.R

remove_line_endpoints_from_splitR Documentation

Splits line into segments using SfSpHelpers::split_lines and then removes the first and last segments (if possible) and then groups the line string by id

Description

Not exported, only kept as reference as it peforms the same function as remove_line_endpoints_lwgeom which is preferable

Usage

remove_line_endpoints_from_split(
  shp_line,
  id_col,
  min_distance_m_to_remove = 10
)

Arguments

min_distance_m_to_remove

cgauvi/sfSpHelpers documentation built on June 30, 2023, 10:48 p.m.