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'.
osm_elevationto insert elevation data into
SC-format data returned by
osmdata_scfunction and elevation data.
opq()function now accepts polygonal bounding boxes generated with
getbb(..., format_out = "polygon").
add_osm_feature, so only listed items are returns (see #139; thanks @loreabad6)
stringsAsFactors = FALSE
osmdata_scto return data in
silicate::SCformat (see github.com/hypertidy/silicate; this also requires additional dependency on
osmdataobject modified to replace former
$metafield containing a list of
$OSM_version(currently 0.6), and
trim_osmdataso that all sf attributes are reinstated, and also issue message that sf-preload is necessary for this function
cmethod so it works when
opq_osm_idto query by OSM identifier alone
opq()to improve handling large queries.
getbb (..., format_out = "polygon")
trim_osmdatafunction to trim an
osmdataobject to within a bounding polygon (thanks @sytpp)
unique_osmdatafunction which reduces each component of an
osmdataobject only to unique elements (so
$osm_points, for example, only contains points that are not represented in other - line, polygon, whatever - objects).
add_osm_feature(and deprecate old version)