powered by
Get the river centreline from OpenStreetMap
get_osm_river_centerline(bb, river_name, crs = NULL, force_download = FALSE)
The river centreline as object of class sf::sfc_LINESTRING or sf::sfc_MULTILINESTRING.
sf::sfc_LINESTRING
sf::sfc_MULTILINESTRING
Bounding box of class bbox
bbox
The name of the river as character vector of length 1, case-sensitive.
Coordinate reference system as EPSG code
Download data even if cached data is available
if (FALSE) { # interactive() bb <- get_osm_bb("Bucharest") crs <- get_utm_zone(bb) get_osm_river_centerline(bb = bb, river_name = "Dâmbovița", crs = crs, force_download = FALSE) }
Run the code above in your browser using DataLab