Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a network of polylines that were all supposed to be connected.

However, I just realized that many of the endpoints of the lines aren't connected, but are very close.

I think there should be a tool to snap the endpoints of the polylines if they are very close to each other, but I can't seem to find it.

Does anyone know an easy way to do this?

share|improve this question
The Snapper and AnchoredSnapper transformers in the Data Interoperability Extension will also do this. – Mark Ireland Nov 16 '10 at 19:04
up vote 9 down vote accepted

The direction of the answer would depend on the license level of your ArcMap. ArcInfo does have this capability built in. Even Editor has some tools to accomplish this task. However with ArcView level you would need to depend on other tools to do this. Not sure if it has changed in 10. I have ArcMap editor 10 and the snap command


Moves points or vertices to coincide exactly with the vertices, edges, or end points of other features. Snapping rules can be specified to control whether the input vertices are snapped to the nearest vertex, edge, or endpoint within a specified distance.

is what I would use. If you need other tools I think there are some free tools in et-geotools that will do it.

share|improve this answer

Depending on the distance identified as "close" there are tools. If you have at least an ArcEditor License for ArcGIS Desktop then you could create a Topology on the data. Once done during validation process the lines will move the distance of the cluster tolerance to snap to each other. By default the cluster tolerance is .001 m which is 10 times the default resolution of your data.

If this automatic process does not do all of these it will identify where the errors are, in ArcMap there is an Error Inspector which will allow you to extend bulk lines so that it can then connect where possible. this will then enable you to have as many automated as possible.

Hope this helps, CDB

share|improve this answer

You can use the geoprocessing "Integrate" tool which clusters vertices in the same way that topology validate does (without the need of creating a topology).

At ArcGIS 10.0 there is a new tool called "Snap" in the Editing toolbox. The tool snaps the feature's vertices from 1 layer to the edge, vertex, endpoint of another feature. See link below.

Desktop Help - Snap (Editing) Tool

share|improve this answer

You can create a geometric network from those polylines and during the creation wizard you can enable feature snapping:

  1. Create geodatabase
  2. Create feature dataset
  3. Import your polylines
  4. Right-click on the feature dataset
  5. New -> Geometric Network
  6. Select your feature class
  7. When asked if the features are to be snapped, click yes and define a snapping tolerance
  8. Click through the rest of the wizard

The wizard will move your lines to match the endpoint of other lines in that feature class within the given snapping distance. HTH

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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