
I have a railway dataset. I am wanting to do route analysis on it but it fails to solve most of the time, because often there are many lines on one route. Is there a way to simplify the above into 1 line that is the average position of the 4 lines in the pic above? Like below

Thanks