This function re-categorises OSM data, adding a column to an OSM network
openinfra_cycle_parking
with value "yes"
if a node/way within the OSM network has
facilities for bicycle parking.
oi_bicycle_parking(osm_sf, remove = FALSE)
A sf
and data.frame
object containing OpenStreetMap
infrastructure data, obtained from the
osmextract
function.
if TRUE
, removes all nodes that are not suitable for
bicycle parking.
The provided osm_sf
is returned with an additional column,
openinfra_cycle_parking
containing the value "yes"
if this feature allows
bicycle parking.
Note: the input osm_sf
must containt the following tags:
c("amenity")
.
Note that as most (if not all) amenity tags for bicycle
parking are assigned to nodes, the osm_sf
must also contain nodes. (the
layer "points"
must be requested when using osmextract::oe_get()
)