4

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. http://forums.arcgis.com/threads/23838-Using-Point-in-Polygon-in-Modelbuilder.

Can I use this in a model?

8

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 can be used in ModelBuilder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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