I already checked all similar questions concerning this topic,
but somehow it's not working for me.
I use ArcMap 10.4.1 and want to build a script with ModelBuilder to count the number of points within my polygon. In addition the points display differnt POI'S (each poi has a unique ID) and the polygon are districts (each district with a unique ID).
Now first of all I want to count just the quantity of points within each district.
I already tried it with –
- Intersect tool (output type = POINT)
- Summary statistics (COUNT FID of Polygon)
- Join Field
But all I get is 0 as a quantity …
I checked it and it seems that until summary statistics everything works as it should, but as soon I want to join the fields there is the problem that some parts of the polygon don't have any points within and I guess arcgis has some issues with that – is there a way where I can still join my table to the attributes of the polygon shape?
Best Answer
Best way to do this would be as follows:
This is step by step how I might approach it, it can be translated into the ModelBuilder quite easily.