AnsweredAssumed Answered


Question asked by Kalssin on Mar 27, 2020
Latest reply on Mar 27, 2020 by bixb0012
# Name:
# Description: Delete identical features in a dataset based on Shape (geometry) and a TEXT field.
# Import system modules
import arcpy
arcpy.env.overwriteOutput = True
# Set workspace environment
arcpy.env.workspace = "C:/data/sbfire.gdb"
# Set input feature class
in_dataset = "fireincidents"
# Set the field upon which the identicals are found
fields = ["Shape", "INTENSITY"]
# Set the XY tolerance within which to identical records to be deleted
xy_tol = "0.02 Miles"
# Set the Z tolerance to default
z_tol = ""
# Execute Delete Identical
arcpy.DeleteIdentical_management(in_dataset, fields, xy_tol, z_tol)


I just want to clarify which order it selects the objects to delete?


Thanks in advance~~~~