Skip to contents

Extract from zip shape files of roads from previously downloaded

Usage

ll_osm_extract_roads(countries, download_if_missing = TRUE, overwrite = FALSE)

Arguments

countries

The name of one or more geographic entities from files typically previously downloaded with ll_osm_download()

download_if_missing

Logical, defaults to TRUE. If TRUE, downloads country files with ll_osm_download() if they are not available locally.

overwrite

Logical, defaults to FALSE. If TRUE, extracts files from zip even if folder already existing.

Value

Nothing, used for its side effects (extracts shapefiles from country-level zip files)

Examples

if (FALSE) {
ll_extract_roads(countries = "Romania")
}