You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An input list of weights (1-1 with set of geometries)
A polygon outline to clip the surface (achieved in this example with Convex Hull)
The centroid of the multipoint geometry or point cloud is different from the centroid of a polygon that considers the entire surface.
The objective is to allocate weights to the entire surface of the polygon, this is achieved through Voronoy used to extend each weight to the corresponding polygon surface (similar to KNN interpolation in raster format), calculating the centroid for each voronoy polygon, and averaging all centroids weighted by area and weight.
In theory this method should yield an exact solution for the weighted polygon centroid.
Yellow Starts: original points with weights Light Green Centroid: uniform multipoint centroid Dark Green Centroid: uniform polygon centroid Light Blue Centroid: weighted multipoint centroid Dark Blue Centroid: weighted polygon centroid
The text was updated successfully, but these errors were encountered:
Consider:
The centroid of the multipoint geometry or point cloud is different from the centroid of a polygon that considers the entire surface.
The objective is to allocate weights to the entire surface of the polygon, this is achieved through Voronoy used to extend each weight to the corresponding polygon surface (similar to KNN interpolation in raster format), calculating the centroid for each voronoy polygon, and averaging all centroids weighted by area and weight.
In theory this method should yield an exact solution for the weighted polygon centroid.
Yellow Starts: original points with weights
Light Green Centroid: uniform multipoint centroid
Dark Green Centroid: uniform polygon centroid
Light Blue Centroid: weighted multipoint centroid
Dark Blue Centroid: weighted polygon centroid
The text was updated successfully, but these errors were encountered: