get_osm_railways {rcrisp} | R Documentation |
Get OpenStreetMap railways
Description
Get OpenStreetMap railways
Usage
get_osm_railways(
aoi,
crs = NULL,
railway_values = "rail",
force_download = FALSE
)
Arguments
aoi |
Area of interest as sf object or bbox |
crs |
Coordinate reference system as EPSG code |
railway_values |
A character or character vector with the railway values to retrieve. |
force_download |
Download data even if cached data is available |
Value
An sf object with the railways
Examples
bb <- get_osm_bb("Bucharest")
crs <- get_utm_zone(bb)
get_osm_railways(bb, crs)
[Package rcrisp version 0.1.4 Index]