get_river_aoi: Get an area of interest (AoI) around a river, cropping to the...

View source: R/osmdata.R

get_river_aoiR Documentation

Get an area of interest (AoI) around a river, cropping to the bounding box of a city

Description

Get an area of interest (AoI) around a river, cropping to the bounding box of a city

Usage

get_river_aoi(river, city_bbox, buffer_distance)

Arguments

river

A list with the river centreline and surface geometries

city_bbox

Bounding box around the city

buffer_distance

Buffer size around the river

Value

An sf object in lat/lon coordinates

Examples


bb <- get_osm_bb("Bucharest")
river <- get_osm_river(bb, "Dâmbovița")
get_river_aoi(river, bb, buffer_distance = 100)


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.