I'm looking for something like K-Means for solid polygons clustering. K-Means clusters discret points. But I want to cluster solid polygons.
I don't see any problems with implementing K-Means extension for this case but I want be sure before reinventing the wheel.
So questions:
- Are there any algorithms for solid polygon clustering?
- Are there any implementations (preferably in javascript)?
I looked at GIS clustering but everything I found is about polygon clustering for zooming. And polygon is a convex hull of geo markers and deeply inside it is about discret points clustering.