basinandbuffers {damAOI} | R Documentation |
Buffers the reservoir and the river, and clips to basin areas
basinandbuffers(
reservoir,
upstream,
downstream,
basins,
streambuffersize,
reservoirbuffersize
)
reservoir |
An sf polygon, with a reservoir |
upstream |
An sf line, following the river upstream of the reservoir |
downstream |
An sf line, following the river downstream of the reservoir |
basins |
An sf multipolygon, with the basins in the area around the dam |
streambuffersize |
A number indicating the distance around the upstream and downstream river to consider as impacted. Defaults to 2000 (2km). |
reservoirbuffersize |
A number indicating the distance around the reserviur to consider as impacted. Defaults to 5000 (5km) |
A two element list. Element 1 is an sf multipolygon with the reservoir buffer, upstream and downstream areas. Element 2 is the same, but clipped to river basin polygons.