Description Usage Arguments Examples
Unnest recursive geometry structures
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
## Default S3 method:
geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
## S3 method for class 'wk_wkt'
geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
## S3 method for class 'wk_wkb'
geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
## S3 method for class 'wk_wksxp'
geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
## S3 method for class 'data.frame'
geo_unnest(x, ..., keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
|
x |
A geometry-like object, or one that can be
coerced to a geometry-like object using |
... |
Unused |
keep_empty |
If |
keep_multi |
If |
max_depth |
The maximum recursive GEOMETRYCOLLECTION depth to unnest. |
1 2 3 4 5 6 | geo_unnest("GEOMETRYCOLLECTION (POINT (1 2), POINT (3 4))")
geo_unnest("GEOMETRYCOLLECTION EMPTY")
geo_unnest("GEOMETRYCOLLECTION EMPTY", keep_empty = TRUE)
geo_unnest(geo_example_wkt, keep_multi = TRUE)
geo_unnest(geo_example_wkt, keep_multi = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.