I have a line featureclass with many segments (for example roads or waterways). I want to merge line feature segments that touch each other until the next crossing. The picture shows an example. After the geoprocessing operation I want to have one long line, two middle lines and one short line. I know how to do it with the editing toolbar for some features manually, but how do I do it for ALL features of the whole layer? The current segmentation doesn't make sense in my project. How do I do it in ArcMap 10.4 ? [![enter image description here][1]][1] [1]: https://i.sstatic.net/tgjHk.png