Skip to contents

Conversion between WKT and a tree representation

Usage

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)

Arguments

x

A WKT2 string, or a wkt_tree list structure

...

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, duplicate indicates the index number of the desired version. Default: 1

item_tree

An item tree identifying a parameter item entry