Learn R Programming

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

osmdata (version 0.0.1)

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,593

Version

0.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Padgham

Last Published

May 19th, 2017

Functions in osmdata (0.0.1)

osm_multilines

Extract all osm_multilines from an osmdata object
osm_multipolygons

Extract all osm_multipolygons from an osmdata object
overpass_status

Retrieve status of the Overpass API
opq_to_string

Convert an osmdata query of class opq to a character string query to be submitted to the overpass API
osm_lines

Extract all osm_lines from an osmdata object
osm_points

Extract all osm_points from an osmdata object
osm_polygons

Extract all osm_polygons from an osmdata object
add_feature

Add a feature to an Overpass query
available_features

List recognized features in OSM
osmdata

osmdata class def
osmdata_sf

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

List tags associated with a feature
bbox_to_string

Convert a named matrix or a named vector (or an unnamed vector) return a string
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.
getbb

Get bounding box for a given place name
opq

Build an Overpass query