# Defintion of a bounding circle (lon,lat,radius in meters)
ohsome_boundary("8.6528,49.3683,1000")
# Definition of two named bounding circles
ohsome_boundary("Circle 1:8.6528,49.3683,1000|Circle 2:8.7294,49.4376,1000")
# Definition of two named bounding circles with a character vector
ohsome_boundary(c("Circle 1:8.6528,49.3683,1000", "Circle 2:8.7294,49.4376,1000"))
# Use franconia from the mapview package as bounding polygons
# \donttest{
ohsome_boundary(mapview::franconia, digits = 4)
# }
# Use the bounding box of franconia
# \donttest{
ohsome_boundary(sf::st_bbox(mapview::franconia))
# }
# Get bounding box of the city of Berlin from OSM
if (FALSE) {
ohsome_boundary(osmdata::getbb("Berlin"))
}
# Use a list of two bounding boxes
if (FALSE) {
ohsome_boundary(list(osmdata::getbb("Berlin"), sf::st_bbox(mapview::franconia)))
}
Run the code above in your browser using DataLab