Download OSM data for whole countries from Geofabrik.
ll_osm_download.Rd
N.B. Names do not always correspond to official name of countries and may include different geographic entities.
For a full list of available "countries" as made available by Geofabrik, see the internal dataset ll_osm_countries
.
Be considered in downloading files.
Arguments
- countries
One or more country names. For details on available country names see the dataset included in this package:
ll_osm_countries
- overwrite
Logical, defaults to FALSE. If true, downloads new files even if already present.
- wget
Logical, defaults to FALSE. If TRUE, it downloads files with wget (if available), otherwise uses default method. Setting wget to TRUE may contribute to prevent download timeouts; notice that apparent freeze of the download progress in the console are common, and mostly the download is just continuing in the background (for reference, check file size in folder.)
Examples
if (FALSE) { # \dontrun{
ll_osm_download(countries = "Romania")
ll_osm_download(countries = c("chile", "colombia"))
} # }