remove_line_endpoints_lwgeom.Rd
Wrapper over lwgeom::st_linesubstring with possibility to either use meters or
remove_line_endpoints_lwgeom(
shp_line,
id_col,
min_distance_m_to_remove = NULL,
min_proportion_remove = NULL
)
distance to remove EACH SIDE: so 2X for total removed
proportion to remove EACH SIDE: so 2X for total removed
Not exported: remove_line_endpoints wraps this function and is the function to use
remove_line_endpoints_lwgeom performs the same functionality as remove_line_endpoints_from_split but is faster, more robust, and allows for fractions to be inputed, not just distances in meters