Iterative algorithm to determine the center of a polygon find the center of mass / furthest away from any boundary
Takes as input a spatial polygon
pol |
One or more polygons as input |
ultimate |
optional Boolean, TRUE = find polygon furthest away from centroid. False = ordinary centroid ## Source for functions: ## https://gis.stackexchange.com/a/265475/78424 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.