Query the Overpass API for a key:value pair within a given bounding box.
Usage
osmdata_as_sf(key, value, bb)
Arguments
- key
A character string with the key to filter the data
- value
A character string with the value to filter the data
- bb
A bounding box, provided either as a matrix (rows for "x", "y",
columns for "min", "max") or as a vector ("xmin", "ymin", "xmax", "ymax")
Value
An sf object with the retrieved OpenStreetMap data