osmdata v0.0.5


Monthly downloads



by Mark Padgham

Import 'OpenStreetMap' Data as Simple Features or Spatial Objects

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'.

Functions in osmdata

Name Description
opq Build an Overpass query
opq_string Convert an overpass query into a text 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.
add_osm_feature Add a feature to an Overpass query
available_features List recognized features in OSM
osm_polygons Extract all osm_polygons from an osmdata object
osmdata osmdata class def
get_overpass_url get_overpass_url
getbb Get bounding box for a given place name
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_pbf Return an OSM Overpass query in PBF (Protocol Buffer Format).
osmdata_sf Return an OSM Overpass query as an osmdata object in sf format.
overpass_status Retrieve status of the Overpass API
set_overpass_url set_overpass_url
trim_osmdata trim_osmdata
unique_osmdata unique_osmdata
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
No Results!

Vignettes of osmdata

No Results!

Last month downloads


License GPL-3
SystemRequirements C++11
NeedsCompilation yes
LazyData true
LinkingTo Rcpp
URL https://github.com/osmdatar/osmdata
BugReports https://github.com/osmdatar/osmdata/issues
Encoding UTF-8
RoxygenNote 6.0.1
VignetteBuilder knitr
Packaged 2017-08-10 12:05:15 UTC; markus
Repository CRAN
Date/Publication 2017-08-13 05:35:52 UTC

Include our badge in your README