I have several points. These points are far from some lines.
I want to make the following:
If two points are closer to each other than the maximum distance of one of these points to the closest line, then connect the points to each other and connect the point that is closer to the line to the line. Is there a quick way of doing it?
I have used the xy to line to connect points to the line, but I do not know how to make this operation. Attached a snapshot to make it more clear.
(Edit - should the screenshot look more like this? The two points on the left are closer to each other than to the line, so they are connected to each other. The two points on the right are closer to the line than to each other, so they are connected to the line)