Am trying to test new polygon created in script for overlap against an existing polygon feature class that may contain one or more multippart polygons. Can seem to get the right syntax. Keep getting failure on second geometry parameter.....
# First create geometry object to receive existing polygon features
inML = arcpy.geometry()
# Copy in features from fc to geometry object
arcpy.CopyFeatures_management(infc, inML)
# Have polygon footprint in an array, aFoot, create geometry object
test_poly = arcpy.Geometry("polygon", aFoot)
# test for overlap
intersect = inML.touches(test_poly)
or
intersect = inML.intersects(test_poly)
Both fail with a second geometry error....
Any ideas?
Thanks.