Function to assess pedestrian infrastructure widths.

oi_im_pavement_width(osm_sf)

Arguments

osm_sf
  • A sf and data.frame object containing OpenStreetMap infrastructure data, obtained from the osmextract package.

Value

the osm_sf is returned with additional columns openinfra_im_width

and openinfra_im_width_est with recategorised way width and estimated width value ranges appended respectively.

Details

Note: the osm_sf must contain the following tags: c("width", "est_width")

Examples

data = example_data
output = oi_im_pavement_width(data)
plot(output["openinfra_im_width_est"])

# Uncomment below to plot other columns
# plot(output["openinfra_im_width"])