osmdata_query | R Documentation |
Query the Overpass API for a key:value pair within a bounding box
osmdata_query(key, value, bb)
key |
A character string with the key to filter the data |
value |
A character string with the value to filter the data. If value = "" means that you get all features available in OSM for the specified bounding box |
bb |
A bounding box, in lat/lon coordinates |
An sf object with the retrieved OpenStreetMap data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.