Description Usage Arguments Value Examples
View source: R/download_osm_data.R
Get boundary by id
1 | get_boundary_by_id(id, type = "way", cache = TRUE)
|
id |
A numeric vector of length 1, must correspond to the id of a boundary object on OpenStreetMap. |
type |
Defaults to "way". |
cache |
Logical, defaults to TRUE. If TRUE, stores data in local subfolder data/cities/country_name/city_name.rds |
An sf polygon.
1 | get_boundary_by_id(id = c(Arad = 45422208))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.