adjustreservoirpolygon {damAOI}R Documentation

adjust polygon of reservoir to reference surface water extent map

Description

adjust polygon of reservoir to reference surface water extent map

Usage

adjustreservoirpolygon(
  reservoir,
  water_bodies,
  dem,
  poss_expand = 20000,
  wbjc = 0
)

Arguments

reservoir

An sf polygon, with an unstandardised raw reservoir

water_bodies

A rast, where 1 indicates water, NA otherwise

dem

A rast, showing elevation

poss_expand

A number, indicating the number of meters away from the raw reservoir the reservoir may expand to. Default is 20000 (20km).

wbjc

A number indicating a "water body join correction". This is a small buffer zone for the reservoir polygon to ensure that it is contiguous (important where there are small channels connecting different parts of the same water body). Default is 0 but it is necessary for some dams to include a small buffer, particularly if the reservoir has areas which are less wide than the resolution of the underlying DEM.

Value

An sf polygon with an adjusted reservoir polygon


[Package damAOI version 0.1 Index]