View source: R/osmapi_elements.R
osm_ways_node | R Documentation |
Returns all the (not deleted) ways in which the given node is used.
osm_ways_node(node_id, format = c("R", "xml", "json"), tags_in_columns = FALSE)
node_id |
Node id represented by a numeric or a character value. |
format |
Format of the output. Can be |
tags_in_columns |
If |
If format = "R"
, returns a data frame with one OSM object per row. If format = "xml"
, returns a
xml2::xml_document following the
OSM_XML format. If format = "json"
,
returns a list with a json structure following the OSM_JSON format.
Other get OSM objects' functions:
osm_bbox_objects()
,
osm_get_objects()
,
osm_history_object()
,
osm_relations_object()
,
osmapi_objects()
ways_node <- osm_ways_node(node_id = 35308286)
ways_node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.