R/geo_utilities.R
extract_roads.Rd
Extract Road Network data from OSM
extract_roads(aoi, radius = NULL, clip = FALSE)
Area of Interest as sf object
Buffer redius in meters, default = 1000m
Should the output be clipped to the AOI? Default is FALSE
if (FALSE) { library(gisr) adm_zmb <- get_admin1(countries = "Zambia") %>% dplyr::select(name) %>% dplyr::filter(name == 'Lusaka') adm_zmb %>% extract_roads() %>% gview() }