Skip to contents

Geometry for area-weighted sampling (wet_ws_sample() with method = "area"), one watershed group at a time so a basin never has to be held in memory at once.

Usage

wet_ws_geom(conn, wsg)

Arguments

conn

A DBI connection to an fwapg database.

wsg

Watershed group code, e.g. "SALR".

Value

terra::SpatVector (BC Albers) with watershed_feature_id.