Learn R Programming

rcrisp (version 0.3.1)

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

Description

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

Usage

osmdata_query(key, value, bb)

Value

An osmdata::osmdata object with the retrieved OpenStreetMap data

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