Given two lists of three column matrices representing S2Polygons calculate the union or intersection. Assumes the polygons have already been validated and put into the correct format by ['S2Polygon']. Note the input is only the loops/rings of two polygons not the entire objects with areas and hole indicators.
1 | S2Polygon_union(x, y)
|
x |
List of loops represented by three-column matrices. |
y |
List of loops represented by three-column matrices. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.