Hi All,

I have a point FC I want to group every near 50 points together.

**I tried:**

1-Near tool or generate near table tool but the overlap is a big problem.

2-Grouping analysis tool with K-means but the number of points within each group is varying depending on the spatial location.

what I want is every near 50 point together in one group and only one group might be less than 50 points.

I understand it might look something like this (restrict 50 point group)

Thanks,

There is a general solution of using the nifty generalized spatial sort available from the Sort tool (requires Advanced license).

Sort—Help | ArcGIS Desktop

Then, in the sorted point table put them into groups with the python expression

Whether the results are really what you want (as Dan points out) is another question.