get_osm_buildings: Get OpenStreetMap buildings

View source: R/osmdata.R

get_osm_buildingsR Documentation

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)

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

Value

An sf object with the buildings

Examples


bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
get_osm_buildings(bb, crs)


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