I would like to select and merge segments that touch like in the image below.
My table contains single segments with their own id (shown in the figure), I just want to isolate single "group" of segments that creates individual lines with their own new ID. I used different colors to explain the different groups of segments I want to find.
I have no idea how to do that, cause I don't know the length of the lines.
Thanks in advance