I need to add vertices to existing lines at intersections, something like this:
I want to do this automatically, by Python script. I can get the coordinates (x,y) of intersections in very simple way:
fc = "outputLayer.shp"
cursor = arcpy.da.SearchCursor(fc, ["OID@", "SHAPE@"] )
for row in cursor:
x, y = row[0]
listXY.append([x,y])
I can get ID lines too. If I have coordinates, how to add vertex at exisiting line?




