get_river_aoi | R Documentation |
Get an area of interest (AoI) around a river, cropping to the bounding box of a city
get_river_aoi(river, city_bbox, buffer_distance)
river |
A list with the river centreline and surface geometries |
city_bbox |
Bounding box around the city |
buffer_distance |
Buffer size around the river |
An sf object in lat/lon coordinates
bb <- get_osm_bb("Bucharest")
river <- get_osm_river(bb, "Dâmbovița")
get_river_aoi(river, bb, buffer_distance = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.