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

View source: R/osmdata.R

osmdata_queryR Documentation

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)

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 sf object with the retrieved OpenStreetMap data


rcrisp documentation built on Aug. 8, 2025, 6:42 p.m.