Skip to contents

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 matrix with the bounding box (rows for "x", "y", columns for "min", "max")

Value

An sf object with the retrieved OpenStreetMap data