Skip to contents

Query the Overpass API for a key:value pair within a bounding box

Usage

osmdata_query(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. If value = "" means that you get all features available in OSM for the specified bounding box

bb

A bounding box, in lat/lon coordinates

Value

An osmdata::osmdata object with the retrieved OpenStreetMap data