The S4 oshElement
class has 3 different subclasses: nodeList
, wayList
, and relationList
data
A list holding XMLInternalElementNode
objects with an XML name of node, way or relation.
tags
A list holding named character vectors with OSM tags as key-value pairs.
attrs
A list holding named character vectors with OSM attrs as key-value pairs.
type
Describe the type of an oshElement.
This class is used by as_oshex()
to initiate an oshElement
class, such as: nodeList
, wayList
, and relationList
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.