Description Usage Arguments Value Examples
Convert a given OSM-XML object (as parsed by
xmlParse) to an osmar object.
1 | as_osmar(xml)
|
xml |
An OSM-XML object |
A list (with class attribute osmar) with three
elements:
nodesA list with two data frames containing the attributes and tags of the nodes.
waysA list with three data frames containing the attributes, tags, and references of the ways.
relationsA list with three data frames containing the attributes, tags, and references of the relations.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.