View source: R/linestring_split.R
remove_line_endpoints_lwgeom | R Documentation |
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
)
min_distance_m_to_remove |
distance to remove EACH SIDE: so 2X for total removed |
min_proportion_remove |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.