An unclassed vector with attribute lengths, which is an integer vector
with the same length as the input denoting the length to which each
feature was expanded.
Arguments
wkt
A character vector containing well-known text.
keep_empty
If TRUE, a GEOMETRYCOLLECTION EMPTY is left as-is
rather than collapsing to length 0.
keep_multi
If TRUE, MULTI* geometries are not expanded to sub-features.
max_depth
The maximum recursive GEOMETRYCOLLECTION depth to unnest.