query_wbd: Query watershed boundary for LAGOS lakes

Description Usage Arguments Examples

Description

Query watershed boundary for LAGOS lakes

Usage

1
2
3
4
5
6
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
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)


## End(Not run)

jsta/LAGOSextra documentation built on Aug. 12, 2021, 12:22 p.m.