Query watershed boundary for LAGOS lakes

query_wbd(
  lagoslakeid,
  gis_path = lagosnegis_path(),
  crs = albers_conic(),
  utm = FALSE
)

Arguments

lagoslakeid

numeric

gis_path

file.path to LAGOSNE GIS gpkg

crs

projection string or epsg code

utm

logical convert crs to utm

Examples

if (FALSE) { library(mapview) res <- query_wbd(lagoslakeid = c(7010)) res <- query_wbd(lagoslakeid = c(7010, 34352)) res <- query_wbd(lagoslakeid = c(34352)) mapview(res) res <- query_wbd(lagoslakeid = c(2057, 3866, 1500, 3386, 2226, 1637, 6874, 7032, 1935, 6970, 5331, 34352)) res <- res[res$lagoslakeid == 34352,] mapview::mapview(res) }