The river geometry may consist of multiple spatial features, these are optionally cropped using the area of interest, then merged after applying the buffer.
Arguments
- river
A simple feature geometry representing the river
- buffer_distance
Size of the buffer (in the river's CRS units)
- bbox
Bounding box defining the extent of the area of interest
- side
Whether to generate a single-sided buffer with a "flat" end. This is only applicable if
river
is a (multi)linestring geometry. Choose betweenNULL
(double-sided),"right"
and"left"