Select to view content in your preferred language

Update Attributes based on values in another shapefile

835
4
01-08-2013 05:35 PM
SteveBruce
Emerging 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ń
Occasional Contributor
Where is the problem?
0 Kudos
ArkadiuszMatoszka
Frequent Contributor
Where is the problem?


Fair question 🙂
0 Kudos
SteveBruce
Emerging 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
Honored Contributor
That is essentially a spatial join- have you tried that?
0 Kudos