Learn R Programming

⚠️There's a newer version (0.2.5) of this package.Take me there.

osmdata (version 0.2.3)

Import 'OpenStreetMap' Data as Simple Features or Spatial Objects

Description

Download and import of 'OpenStreetMap' ('OSM') data as 'sf' or 'sp' objects. 'OSM' data are extracted from the 'Overpass' web server () and processed with very fast 'C++' routines for return to 'R'.

Copy Link

Version

Install

install.packages('osmdata')

Monthly Downloads

5,956

Version

0.2.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

June 1st, 2023

Functions in osmdata (0.2.3)

opq

Build an Overpass query
bbox_to_string

Convert a named matrix or a named or unnamed vector or data.frame to a string
add_osm_features

Add multiple features to an Overpass query
available_tags

List tags associated with a feature
opq_csv

Transform an Overpass query to return the result in a csv format
get_overpass_url

get_overpass_url
opq_around

opq_around
available_features

List recognized features in OSM
add_osm_feature

Add a feature to an Overpass query
getbb

Get bounding box for a given place name
osm_elevation

osm_elevation
osm_lines

Extract all osm_lines from an osmdata object
opq_enclosing

opq_enclosing
osm_points

Extract all osm_points from an osmdata object
opq_osm_id

Add a feature specified by OSM ID to an Overpass query
osm_multilines

Extract all osm_multilines from an osmdata object
osm_multipolygons

Extract all osm_multipolygons from an osmdata object
osm_poly2line

Convert osmdata polygons into lines
opq_string

Convert an overpass query into a text string
osmdata_sp

Return an OSM Overpass query as an osmdata object in sp format.
osm_polygons

Extract all osm_polygons from an osmdata object
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.
osmdata

osmdata class def
osmdata_data_frame

unique_osmdata

unique_osmdata
unname_osmdata_sf

unname_osmdata_sf
set_overpass_url

set_overpass_url
osmdata_sf

Return an OSM Overpass query as an osmdata object in sf format.
osmdata_sc

Return an OSM Overpass query as an osmdata object in silicate (SC) format.
trim_osmdata

trim_osmdata
%>%

Pipe operator
overpass_status

Retrieve status of the Overpass API