Skip to contents

Get OpenStreetMap railways

Usage

get_osm_railways(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 railways

Examples

if (FALSE) { # interactive()
bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
get_osm_railways(bb, crs)
}