AnsweredAssumed Answered

Identity function - arcpy

Question asked by ziziz on Sep 7, 2015
Latest reply on Sep 7, 2015 by Dan_Patterson

Input vector = shapefile with many overlapping polygons

Identify feature = only one polygon

 

When the identify feature crosses the input feature I receive two or more readings (with the same FID) due to the fact that the identity feature many times crosses the polygons within the input feature class. See it below:

 

fid 1319, 885 - 1

fid 1319, 347 - 0

 

(1 within, 0 - outside)

Could I set up my code in a way (or use other function), that the input polygon is either and only in or out of the identify feature but not in both, even though the identity feature crossed it?

 

arcpy.analysis.Identity(fc, idFeat, output, "ALL", relationship="NO_RELATIONSHIPS")

Outcomes