I have a huge number of polygons that contain attribute field that represent number of offices inside each polygon. Now I want to merge all adjacent polygons which count (sum) of offices values is between 1000 and 2000. I want to do that using ArcGIS. I have idea to use Dissolve tool, Integrate tool and Merge tool, but I am not sure about steps in order to solve this.
Asked
Active
Viewed 501 times
0
-
1Possible duplicate of Graph/Network building and analysis of linked polygons in ArcGIS for Desktop? – FelixIP Dec 10 '17 at 17:42
-
@FelixIP very similar, but not same. – user104851 Dec 10 '17 at 22:53
-
100 percent identical. If you dissolve result shown by rcvnode . Store you Shape s somewhere in Dropbox, I solve it in 10 minutes. – FelixIP Dec 11 '17 at 00:08
-
@FelixIP This is the link: https://www.dropbox.com/s/0c62n0cy5nebwl6/TEXAS.zip?dl=0 If you can describe step by step what have you done in my example that would be great. JOINT_COUNT field is a field depending on which count I want to merge the polygons. Thx – user104851 Dec 11 '17 at 15:29
-
@FelixIP This is great. But could you please send me a script that you have used in my example (with my parameters). Sorry, I am new in coding. – user104851 Dec 12 '17 at 00:00
-
This will achieve nothing. First take an example and script from my 1st comment and make it work. In addition to script you'll need to learn how to attach it to tool, import networkx module and organise/name data accordingly. Let me know when done and I'll share slightly modified script I used today. I also preprocessed your data, i.e. fill 'water' gaps in a state of Texas(?). Note: the script already posted is a big present to anyone, there are no tools that are even close in ArcGIS package. – FelixIP Dec 12 '17 at 00:23
1 Answers
3
I took your polygons and converted them to single parts. For each part I recomputed number of offices pro rata of parts count in parent polygon. I applied procedure and script from the post mentioned in my comments with tolerance 0.05 and 316 groups, i.e. I tried to create 316 groups from 3059 original polygons with each group containing 1500 offices (total of offices=475169 ):
This is statistics of dissolved:
And these are results. Note I removed islands because they have no neighbours in your definition.
For more information on algorithm, see this post.
FelixIP
- 22,922
- 3
- 29
- 61

