Skip to contents

Get the left and right extension distances for a set of transects out to a set of polygons

Usage

get_transect_extension_distances_to_polygons(
  transects,
  polygons,
  crosswalk_id,
  max_extension_distance,
  tolerance = NULL,
  verbose = TRUE
)

Arguments

transects

sf linestring dataframe

polygons

sf polygon dataframe

crosswalk_id

character

max_extension_distance

numeric

tolerance

A minimum distance to use for simplification on polygons. Use a higher value for more simplification on the polygons. Default is NULL which will apply no simplification to polygons.

verbose

logical, whether to output messages or not. Default is TRUE, and messages will output

Value

data.frame or tibble