Skip to main content
Question

Grouping on average

  • October 17, 2016
  • 1 reply
  • 11 views

tva
Contributor
Forum|alt.badge.img+13

Hi,

I'm having difficulties with the following problem:

I'm having X polygons (with unique ID)(lets assume 1000 polygons) and Y points inside those polygons. First I do colorsetter so see which polygons are disconnected. So I have X polygons with an attribute _color (with 5 different possible values). Then I use spatial overlay to know which points are inside a certain polygon and in the end I'm using a statistics calculator to count the amount of points inside the polygon. As end result I have X polygons with as attributes: unique ID, _color and count of points.

Now I want to split these X polygons into Z groups (public parameter, let's assume 10), but in a way that these 10 groups contain sort or less the same amount of points.

Does anyone has some ideas to group them on an average? I don't mind the amount of polygons in a group. ex group 1 can contain only 1 polygon (as it contains a lot of points) while rest of the group can contain 11 polygons.

Thanks

VAT

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • October 18, 2016

Hi @vat, I have added a workspace that groups based on created features and data.

Hope this helps.

grouping-on-average.fmw