Skip to contents

Package doc and class

osmdata()
osmdata class def

Overpass server

get_overpass_url()
get_overpass_url
set_overpass_url()
set_overpass_url

Prepare queries

add_osm_feature()
Add a feature to an Overpass query
add_osm_features()
Add multiple features to an Overpass query
bbox_to_string()
Convert a named matrix or a named or unnamed vector to a string
getbb()
Get bounding box for a given place name
opq()
Build an Overpass query
opq_around()
opq_around
opq_enclosing()
opq_enclosing
opq_osm_id()
Add a feature specified by OSM ID to an Overpass query
opq_string()
Convert an overpass query into a text string
overpass_status()
Retrieve status of the Overpass API

Get additional OSM info

available_features()
List recognized features in OSM
available_tags()
List tags associated with a feature

Extract data

osmdata_sc()
Return an OSM Overpass query as an osmdata object in silicate (SC) format.
osmdata_sf()
Return an OSM Overpass query as an osmdata object in sf format.
osmdata_sp()
Return an OSM Overpass query as an osmdata object in sp format.
osmdata_xml()
Return an OSM Overpass query in XML format Read an (XML format) OSM Overpass response from a string, a connection, or a raw vector.

Search data

osm_lines()
Extract all osm_lines from an osmdata object
osm_multilines()
Extract all osm_multilines from an osmdata object
osm_multipolygons()
Extract all osm_multipolygons from an osmdata object
osm_points()
Extract all osm_points from an osmdata object
osm_polygons()
Extract all osm_polygons from an osmdata object

Transform data

osm_elevation()
osm_elevation
osm_poly2line()
Convert osmdata polygons into lines
trim_osmdata()
trim_osmdata
unique_osmdata()
unique_osmdata
unname_osmdata_sf()
unname_osmdata_sf