Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have two layers: one point and one polygon grid layer. Trying to count the number of points in each grid polygon and have it become an attribute in the polygon layer. Currently using ArcGIS 10 with HawthsTools>Analysis tools>Count points in polygon to accomplish this task manually, but I want to bake it into a model. I can't figure out how to add HawthsTools into model builder. Why is this? I have not yet installed Geospatial Modeling Environment, which is the new iteration of HawthsTools. Does GME play nice with model builder? If not, what solutions can you suggest?

The closest I've gotten is finding a python script that will count points in polygons. http://forums.arcgis.com/threads/23838-Using-Point-in-Polygon-in-Modelbuilder. Can I use this in a model? Hand holding on how to accomplish this would be very, very appreciated.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

First use Intersect to add the polygon ID to each point.

Then use Summary Statistics on those points to obtain a count of how many times each polygon ID occurs in the stats table.

Then use Join Field to join the count field from the stats table onto the polygons by using the polygon ID as the key field.

All of the above tools play nicely with ModelBuilder.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.