Description Usage Arguments Value Examples
Unnest nested geometries
1 | geos_unnest(geom, keep_empty = FALSE, keep_multi = TRUE, max_depth = 1)
|
geom |
A GEOS geometry vector |
keep_empty |
If |
keep_multi |
If |
max_depth |
The maximum recursive GEOMETRYCOLLECTION depth to unnest. |
A GEOS geometry vector with a length
greater than or equal to geom
with an attribute "lengths"
that can be used to map elements of the result to the
original item.
1 | geos_unnest("GEOMETRYCOLLECTION (POINT (1 2), POINT (3 4))")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.