| get_osm_river_surface | R Documentation |
Get the river surface from OpenStreetMap
get_osm_river_surface(bb, river_centerline, crs = NULL, force_download = FALSE)
bb |
Bounding box of class |
river_centerline |
The river centerline as an object of class
|
crs |
Coordinate reference system as EPSG code |
force_download |
Download data even if cached data is available |
The river surface as object of class sf::sfc_POLYGON or
sf::sfc_MULTIPOLYGON.
bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
river <- get_osm_river_centerline(bb, "Dâmbovița")
get_osm_river_surface(bb = bb, river_centerline = river, crs = crs,
force_download = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.