Learn R Programming

rcrisp (version 0.3.1)

get_osm_buildings: Get OpenStreetMap buildings

Description

Get buildings from OpenStreetMap within a given buffer around a river.

Usage

get_osm_buildings(aoi, crs = NULL, force_download = FALSE)

Value

An object of class sf::sfc_POLYGON

Arguments

aoi

Area of interest as sf object or bbox

crs

Coordinate reference system as EPSG code

force_download

Download data even if cached data is available

Examples

Run this code
if (FALSE) { # interactive()
bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
get_osm_buildings(aoi = bb, crs = crs)
}

Run the code above in your browser using DataLab