Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ModelBuilder. Why is this? I have not yet installed Geospatial Modeling Environment, which is the new iteration of HawthsTools.

Does GME play nice with ModelBuilder? If not, what solutions can you suggest?

The closest I've gotten is finding a python script that will count points in polygons.

Can I use this in a model?

share|improve this question
up vote 6 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


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.