Duplicate records - Google Earth and GIS Shapefile

Опубликовано: 27 Октябрь 2024
на канале: Geo Magazine
492
10

It is usual for an attribute table to contain fields with common values and unique values. So, it is sometimes necessary to identify duplicate values to create a group among layers, or to identify unique values to isolate the feature.

https://support.esri.com/en/technical...

1. Concatenate/Join:

[X_Long] &","& [Y_Lat]

2. Python (Pre-Logic Script Code:

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

DUPLICATE =

isDuplicate(!XY_Text50!)

3. Google Earth to Shapefile with all Attributes

All Attributes Conversion, Google Earth (KML or KMZ) to Shapefile
   • All Attributes Conversion, Google Ear...  

Thanks and regards
Khalid Mahmood
[email protected]
  / khalidmahmoodgis