Create polygons that group certain number of points in ArcGIS

5109
12
Jump to solution
06-12-2018 05:13 AM
SlobodanKomatina1
New Contributor II

I have about 20000 points and I want to create polygons where each polygon contain 200 points, so there should be 20000/200=100 polygons. I want to do that with ArcGIS 10.4.

0 Kudos
1 Solution

Accepted Solutions
SteveLynch
Esri Regular Contributor
12 Replies
DanPatterson_Retired
MVP Esteemed Contributor

What rules are you using for the grouping?

some possibilities...

  •  split the points based on sequential number
  • spatially sort the points then group by sorted idea
  • group based on a distance (this is difficult because getting 200 exactly is nearly impossible, so you would have to iterate and subdivide.
SlobodanKomatina1
New Contributor II

I just want these groups to contain 200 points and to touch boundaries like on the example bellow.polygons

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

The quickest way to do that is to use the selector tool, highlight a selection that you have done, use the field calculator to put in a 'key' value (ie week1, week 2 etc).

In any event, you are going to have to draw the boundary.  If you had to reuse this boundary, then you could produce the boundary layer, then do a select by attribute or spatial join.

If you need them as separate files, then use the Split layer tool if you and advance license... or since you are using an old arcmap Split Layer By Attribute works for all license levels

SlobodanKomatina1
New Contributor II

So I guess that this idea is that what I need: 

  • spatially sort the points then group by sorted idea
0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

as for sorting, a standard spatial sort isn't going to help. 

A radial sort around area centroids might help you identify the closest, but given your layout of the zones you are working with... you would be done doing it manually before you finished fine-tuning that.

I do have tools for radial sort but they are for ArcGIS Pro

This sounds similar to one of your other unclosed threads

https://community.esri.com/thread/206712-how-to-merge-adjacent-polygons-to-one-which-sum-of-attribut... 

XanderBakker
Esri Esteemed Contributor
SlobodanKomatina1
New Contributor II

Great! That works. Now I just want to create polygons that contain points based on attribute value of each point. Also I need these polygons just to touch boundaries, not to overlap each other.

0 Kudos
JoshuaBixby
MVP Esteemed Contributor
SteveLynch
Esri Regular Contributor

Generate Subset Polygons was launched in ArcGIS Pro 2.1