Hello ballardw, thank you very much for your reply and interest in this matter. 1) Yes although I call them 1,2,3 and 4 those are not the original file names, the ones I use work no problem. But to ease confusion let us refer to them as sets: A, B, C, D and E(final). 2) In D I made a mistake I meant to indicate is as Count3 I am working on merging the files one at a time and not all at once. I will try the code. Frist in A,C and D ID/IDD is an identifier of a unique portion of a road. That portion is then defined by a continuous length identifier FROM and TO. In A there are two of the same IDs because another variable(not shown) is different the requiring to split it into 2 sections. In B only the IDD (where IDD=ID) and at some Off there is a point of interest. Thus the first line in B will only fall into the gap between 0 and 0.5 and not the second and vice versa for the second observation. Apart from the naming mistake, C and D are the same sections but the Count3 is the only observation and thus there are no splits.
... View more