Running ArcGIS 10.1, I have two feature classes in a geodatabase. One is a point FC for polling stations, the other is a polygon FC for states.
The polling station FC contains over 1000 points and has a states field indicating which state the polling station is located in. The states FC has an attribute for each state and has a blank field for the number of polling stations in each state.
I need a python script that will get the count of how many polling stations are located in each state from the polling station FC, and then write those numbers to the column in the states FC - obviously to their corresponding state.
I've tried a few times to start this, but I can't seem to figure out the best way to do this. Any help is much appreciated!
أكثر...
The polling station FC contains over 1000 points and has a states field indicating which state the polling station is located in. The states FC has an attribute for each state and has a blank field for the number of polling stations in each state.
I need a python script that will get the count of how many polling stations are located in each state from the polling station FC, and then write those numbers to the column in the states FC - obviously to their corresponding state.
I've tried a few times to start this, but I can't seem to figure out the best way to do this. Any help is much appreciated!
أكثر...