Hi,
I have 100,000+ points I would like to group into a fixed number of members as spatially optimal as possible.
The data comes delivered to me in either text or csv containing a variety of attributes including postcode. I have geo-referenced each row to the nominal centre of each postcode using OS Code Point. This gives me the easting and northing for each row. I have tried to convert this to an xyz to then follow the suggestions in this post https://knowledge.safe.com/questions/24064/cluster-points-based-on-location-k-means-method.html. However, I suspect due to my limited working knowledge of FME, I'm struggling to create the correct workflow.
I have tried another approach in FME creating voronoi polygons from the points and then using PointOnAreaOverlayer to add the overlap/count of points in the polygons. I thought I could then look to dissolve the polygons based on nearest neighbour locations until the desired count is reached.
Can anyone provide any advice, tips or instructions on how to best come up with a solution?
Thanks for taking the time to look
B