Update Attributes based on values in another shapefile

548
4
01-08-2013 05:35 PM
SteveBruce
New Contributor
I have one point shapefile (POINTS) and one polygon shapefile (POLYS).  i would like to create a routine that goes through each record in the polygon shapefile, selects all the points contained by that polygon, and the populates an attribute of each point (ATTR1), with an attribute value from the polygon dataset (ATTR2) from the polygon that contains those points.
Tags (2)
0 Kudos
4 Replies
BartłomiejStaroń
New Contributor III
Where is the problem?
0 Kudos
ArkadiuszMatoszka
Occasional Contributor II
Where is the problem?


Fair question 🙂
0 Kudos
SteveBruce
New Contributor
Sorry, problem is that i have limited python experience and am not really sure where to start. Wondering if there's. some sample code out there that will do this.  I've tried the arcgis help but no luck there. Thanks
0 Kudos
T__WayneWhitley
Frequent Contributor
That is essentially a spatial join- have you tried that?
0 Kudos