drewoakley

Finding Duplicates with weight

Discussion created by drewoakley on Oct 9, 2013
Latest reply on Oct 11, 2013 by doug.sands
Is it possible to give weight to a feature class when searching for duplicates? Basically I have two sets of data that I have combined. One comes from GPS points and the other comes from geocoded points. I have a field named 'info_src" that distinguishes this for me. I want to erase the duplicate geocoded points NOT the GPS points. The script I have been using is pasted below. I want the duplicates marked but I want the geocoded point to be marked as the duplicate instead of the GPS point and just the opposite is occuring. Help!!

uniqueList = []
def isDuplicate(inValue):
if inValue in uniqueList:
return 1
else:
uniqueList.append(inValue)

isDuplicate( !Account! )

Outcomes