I have a feature class containing several rivers, which are derived from merging individual river segments to make a continuous line. They have been merged using the editor tool. I have calculated the XY start and end coordinates for my merged lines but it is giving me random coordinates of positions which aren't the start and end of the line. Instead, it seems to be giving me start and end XY coordinates of pre-merged segments. How can I alter this so it recognises the line is now a continuous merged line and retrieve the XY start and end coordinates of the merged line not the individual segments. enter image description here See image attached. The coordinates are calculated as start and end XY using the calculate geometry tool but as you can see, they aren't at the start and end at all.

  • 1
    Have you actually merged the line segments into a single line, or just combined them into a multi-part geometry? It sounds like it's a multi-part. May 3 '16 at 11:48

Were the original pre-merge lines all pointing in a sea to source direction? If not then merging multiple lines flowing in opposite directions will cause the problem you are seeing.

The solution is before you merge, you flip the lines that need flipping so they all flow from a source to sea direction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.