View source: R/ll_osm_download.R
ll_osm_download | R Documentation |
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.
ll_osm_download(countries, overwrite = FALSE, wget = FALSE)
countries |
One or more country names. For details on available country names see the dataset included in this package: |
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.) |
Used only for its side effects (downloads osm data).
## Not run:
ll_osm_download(countries = "Romania")
ll_osm_download(countries = c("chile", "colombia"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.