fm_wkt_as_wkt_tree | R Documentation |
Conversion between WKT and a tree representation
fm_wkt_as_wkt_tree(x, ...)
fm_wkt_tree_as_wkt(x, pretty = FALSE, ...)
fm_wkt_tree_get_item(x, item, duplicate = 1)
fm_wkt_tree_set_item(x, item_tree, duplicate = 1)
x |
A WKT2 string, or a |
... |
Unused |
pretty |
logical; If TRUE, use pretty formatting. Default: FALSE |
item |
character vector with item labels identifying a parameter item entry. |
duplicate |
For items that have more than one match, |
item_tree |
An item tree identifying a parameter item entry |
A hierarchical list, describing WKT information as a tree
fm_wkt_tree_as_wkt
character; the WKT corresponding to the tree.
fm_wkt_tree_get_item
returns the value of an item found in the tree
fm_wkt_tree_set_item
returns the modified tree
str(fm_wkt_as_wkt_tree(fm_crs("longlat_norm")$wkt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.