Hello Everyone,
I have a line shapefile that I created using supervised image classification, with the purpose of delineating vine rows in a vineyard. The classification worked to an extent, and gave me multiple line segments per vine row (as seen in the image below).

I am now stuck on how to connect these segments to other segments in a row. Is it possible to automate this and not have to manually connect all the lines? I tried using topology, and 'no dangles' rule, and tried to snap a line end point to another within a given distance. Unfortunately, often this results in a line segment snapping to a line segment in the next row instead of snapping to a segment in the same row.
Would really appreciate any solutions/guidance on how to work around this.
Thank you!
Best,
Aarushi