AnsweredAssumed Answered

How to spatially sort lines

Question asked by yichiliu on Jan 8, 2014
Latest reply on Jan 10, 2014 by yichiliu
Hi all,

I have a line shapefile and I split the line into multiple line segments using Split Line At Vertices. The problem I have is that after split the line, the first feature (FID = 0) is at the middle of the whole line, highlighted as following.

How can I spatially sort the line features so that the starting feature is the very first feature in attribute table, and the ending feature is the last feature in the attribute table, and the rest follows the direction of the line?

I have tried the SORT tool, it didn't seem to work for me. The order changed, but the first feature still did not start at the starting point of the line.

Thank you very much!