Hello,
I am very new in Python , not familiar with arcpy
still need to make Python-script that can be run from ArcGIS Pro toolbox. The idea is to find the intersected polygons , but not touched, with selected polygons. My approach is first to buffer selected with negative distance to exclude touches and then use the SelectLayerByLocation to find intersected. Because selected polygons have curves or arcs, they are not buffered correctly, so first I make them densify. Densify returns result, but not geometries. So how the result can be proceed as geometries
here is the code
#pick up the selected polygons
for row in arcpy.da.SearchCursor(lyr.longName,fieldname_list):
#polygons are usually multygeometry
for part in row[1]:
poly=arcpy.Polygon(part)
poly_densify=arcpy.edit.Densify(poly,"OFFSET", "0.1 Meters", "0.1 Meters", 10, 10)
# print(poly_densify[0]) returns string class 'in_memory\fA087F071_E3E9_48D2_86FB_34F6394169D1'
# here I need to buffer densified polygons, but how?
Or is there any other approaches to get only intersected not touched polygons
thanks in advance