Description Usage Arguments Details Examples
Initiates an oshex objet from an OSM/OSH XMLInternalDocument
object as given by xmlParse
.
1 |
osm |
An OSM/OSH |
parse.tags |
A boolean to determine if tags should be parsed. Defaults to FALSE. See 'Details' below. |
By default, as_oshex
does not store information from tags, node references (for wayList
),
and member objects (for relationList
). Yet filtering can be applied to general attributes, such as:
user, object id, timestamp (temporal), and location (with some limited functionalities).
The user can decide to parse tags, node references, and member objects by setting parse.tags = TRUE
.
This functionality allows users reducing the running time of as_oshex
by extracting
and storing required data only. Other functions that use tags, such as: some of the uses of
osh_filter
, will extract and store the information in case it is missing.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.