I am trying to convert a line shapefile with branches into just one polyline, actually deleting every other diramation.
Imagine something like this:
(dont consider the two dots, had to put them for format reason)
I could do it manually but it would take alot of time. Maybe using some sort pf shortest path could work but I am not sure.