Tuesday, 10 May 2016

cursor - Comparing field values of two feature classes using ArcPy?


I have an intermediate fc #1 that contains data that I would like to append to my production fc # 2(final output). When working with the data, I would only like to append data from my fc # 1that is not in fc # 2, to avoid duplicates, etc. My field that I would like to check is SRNumber I would like to only append from fc # 1 to fc # 2 when SRNumber is not in fc # 2. Can this be done via ArcPy?


Maybe get values of fields from fc # 1 SRNumber store in list and write anything not in list to fc # 2?





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...