id is of a point object,
osm_polygons will return all
polygons containing that point. If
id is of a line or polygon object,
osm_polygons will return all polygons which intersect the given line
An object of class osmdata
OSM identification of one or more objects for which polygons are to be extracted
An sf Simple Features Collection of polygons
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.