basinandbuffers {damAOI} | R Documentation |
Buffers the reservoir and the river, and clips to basin areas
Description
Buffers the reservoir and the river, and clips to basin areas
Usage
basinandbuffers(
reservoir,
upstream,
downstream,
basins,
streambuffersize,
reservoirbuffersize
)
Arguments
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) |
Value
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.
[Package damAOI version 0.1 Index]