Skip to contents

Takes any transects that was extended and with multiple flowline intersections, and shortens them by the distance specified in the "extension_distance" column

Usage

shorten_multi_flowline_intersecting_extended_transects(
  x,
  flowlines,
  crosswalk_id = NULL
)

Arguments

x

sf dataframe of transects, requires a crosswalk_id, cs_id, cs_lengthm, extension_distance, and geometry column

flowlines

sf dataframe of flowline LINESTRINGS to compare to

crosswalk_id

character, unique ID column

Value

sf dataframe of transects with any transects that intersect multiple other transects being shortened by -extension_distance