View source: R/geos-polygonize.R
geos_polygonize | R Documentation |
Create polygons from noded edges
geos_polygonize(collection)
geos_polygonize_valid(collection)
geos_polygonize_cut_edges(collection)
geos_polygonize_full(collection)
collection |
A GEOMETRYCOLLECTION or MULTILINESTRING of edges that meet at their endpoints. |
A GEOMETRYCOLLECTION of polygons
geos_polygonize("MULTILINESTRING ((0 0, 0 1), (0 1, 1 0), (1 0, 0 0))")
geos_polygonize_valid("MULTILINESTRING ((0 0, 0 1), (0 1, 1 0), (1 0, 0 0))")
geos_polygonize_cut_edges("MULTILINESTRING ((0 0, 0 1), (0 1, 1 0), (1 0, 0 0))")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.