Classify cross section points that are located within the floodplain and channel.

xs_pts_classify(xs_pts, channel_poly, floodplain_poly, buffer_distance)

Arguments

xs_pts

sf object; A cross_section_points object.

channel_poly

sf object; A channel_poly object.

floodplain_poly

sf object; A floodplain_poly object.

buffer_distance

numeric; The buffer distance used to extend the channel and floodplain polygons. Linear units of sf objects.

Value

An sf object representing xs_pts whose points are classified as falling inside the floodplain or channel.