I am looking for a way to connect line segments that are unconnected. It is a shapefile for a network of rivers and all the lines are slightly disconnected.

Is there something like aggregate polygons but for lines?

Edit My river data is not continuous but I would like it to be so I can run simplification tools on it for a generalized map. enter image description here

The lines don't always touch so when I try to generalize, it doesn't work. I want to connect the line together automatically.

  • 1
    I think what you're looking for is the Snap GP tool but it would be better if you can give a more elaborated description of the problem encountered.
    – EranGeo
    Dec 7, 2017 at 5:42

1 Answer 1


You can create a Geometric Network based on your hydro feature class, as described in this Esri tutorial. If you want to go a quicker route, use the Create Geometric Network tool - for this you will need to have created a spatially referenced Feature Dataset (stored in a geodatabase of some kind), within which you will save the Network.

When you go through the options to create the Network, you can set the "Snap Tolerance" to a distance value specifying the max distance where gaps will be snapped together. Obviously, the input feature class will be your hydro features.

When it is created, you can re-create with different snapping tolerance using Rebuild Geometric Network if necessary, but you can either convert back to a new feature class or else simply display the Geometric Network on your map, with no added generalization necessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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