AnsweredAssumed Answered

Arcpy Update points with info from Polygon

Question asked by bill@poconogis.com on Aug 23, 2016
Latest reply on Aug 24, 2016 by xander_bakker

I have a featureclass of points and one of parcel polygons, my task was write some python code to put the parcel_ID back into the point. Without Arcpy, I just create a spatialJoin and then join the new fc back to the old one and field calc the data over and then blow away the temp spatialjoin fc.

 

I thought this would be easy in python, except you cannot join to a featureclass you have to create a feature layer to join to. Since I'm allowed to modify the point feature class but not delete and replace, a join is out of question. I have roughly 11 thousand points to update.  Since I have to do this with the county poly, municipal poly, zipcode pole, etc, the manual method is not an option, they need a tool.

 

I imaging I could create a cusror to step though each point and then do an intersect to get a field value and update a record but is their a better way?

Outcomes