Updating a feature class based on evaluating different fields with arcpy.da.UpdateCur

المشرف العام

Administrator
طاقم الإدارة
I have a feature class with a number of fields, two of wich are key fields, named key and front, and secondary fields named key_n and front_n.

The thing is I need to search in the whole table for any instances of key values where the front equals the front_n value (key+front = key+front_n), as the basis for calculating the key_n value.

I have tried with arcpy.da.UpdateCursor, but haven't got it, since, to my view, the arcpy.da.UpdateCursor compares only values within the current row, and the provided examples with ArcGis don't explore this possibility.



أكثر...
 
أعلى