Description Usage Arguments Methods (by class) Details
Extracts and parses information from and OSM/OSH XMLInternalDocument
to initiate oshElement
or metaList
.
1 2 3 4 5 6 7 8 9 |
osm |
An OSM/OSH |
object |
The object to be initiate by the function, e.g. |
tags |
A logical argument to determine if tags should be parsed. Default to FALSE. |
osm = XMLInternalDocument,object = oshElement,tags = logical
: Initializes an oshElement
class, such as: nodeList
, wayList
, and relationList
.
osm = XMLInternalDocument,object = metaList,tags = ANY
: Initializes a metaList
class.
This function is used by as_oshex()
to parse an OSM/OSH XMLInternalDocument
object
in order to initiate an oshex
object.
Settitn tags = TRUE
parse and store isnformation from tags, node references (for wayList
),
and member objects (for relationList
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.