query_wbd: Query watershed boundary for LAGOS lakes

Description Usage Arguments Examples

Description

Query watershed boundary for LAGOS lakes

Usage

1
2
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/LAGOSNEgis documentation built on Dec. 7, 2018, 8:01 a.m.