Ask A Cartographer

Clustering in ArcGIS 10

September 20 2011 | 5 comments
Categories: Map Data

With ArcGIS Server there is an option for Java Script API where we can use clustering representation and create a cluster for points close to each other. You can look at the example here: 

I was wondering if such thing is possible in ArcGIS 10? Or if there is any way around that can create similar representation of points for normal maps?


Mapping Center Answer:

Attached is a tool you can use to perform the type of analysis you are asking about. Hope this helps!

thanks posted by gerd weitkamp on Mar 19 2013 5:57AM
That is a tool I was looking for. Great. Could you explain how the clustering is calculated exactly? And would it be possible to assign a cluster number to each point from the input layer? Thanks!
Collect Events posted by Aileen Buckley on Mar 19 2013 9:58AM
If you right click the tool in ArcToolbox and click Edit you can see what the model is doing -- essentially it is using the Collect Events tool to do the clustering.
Cluster number posted by Aileen Buckley on Mar 19 2013 10:10AM
I am not quite sure how you could assign a cluster number for the input to the output since the output is going to represent multiple input points, not just one. So how would you make the assignment -- what input point number would get assigned to the output point if, say, 5, input points are represented in the output point? I don't think this is possible, except maybe using a spatial join but then I am not sure what your results would be or what they would mean.
Error running tool posted by Brian Kaplan on Jul 23 2013 8:35AM

Thanks for putting this tool together. I'm having a problem that it cannot find the ICOUNT Field. Here is the error message from the python program Collect Events. I'm running 10.1 and the files are in a file geodatabase. I will try to figure it out but I'm a beginner python program and the python code is complex. Can anyone spot

Traceback (most recent call last):
File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\", line 148, in
File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\", line 35, in setupCollectEvents
ce = collectEvents(inputFC, outputFC)
File "c:\program files (x86)\arcgis\desktop10.1\ArcToolbox\Scripts\", line 127, in collectEvents
RuntimeError: Cannot find field 'ICOUNT'


Error running tool - fixed posted by Brian Kaplan on Jul 24 2013 12:10PM
Running the tool on data that is in a geodatabase on my local drive works. The error occurs when I run it with data on a geodatabase on a server using a URL. It may be the URL or something else about the geodatabase! The tools works well. Now my goal is to modify the tool so it sums a variable in the database and the symbol is based on the variable. It would be cool if a polygon could be generated to encompass the points associated with each graduated circle.

The python code is impressive. Thanks.

If you would like to post a comment, please login.

Contact Us | Legal | Privacy |