uni_point | R Documentation |
From OpenStreetMap
uni_point
An object of class sf
(inherits from data.frame
) with 1 rows and 5 columns.
# library(osmdata)
# osm_list <- opq("leeds") %>%
# add_osm_feature("name", "University of Leeds") %>%
# osmdata_sf()
# uni_poly = osm_list$osm_polygons
# mapview::mapview(uni_poly)
# uni_point <- sf::st_centroid(osm_list$osm_polygons)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.