[GIS] Merge overlapping lines in ArcGIS

arcgis-desktopoverlapping-featurespolyline-creationpythonvector

I have a polyline shapefile containing a number of lines, some of which overlap. By overlap, I mean that they follow exactly the same path for some of their route, but also have bits that are not shared. As it's difficult to explain in words, the following images should help:

FirstExample

SecondExample

In the example above, you can see how the two selected lines overlap, and I want to merge them into one line feature.

Is there a way to do this with a built-in ArcGIS tool? If not, is there an easy way to check for overlapping in Python? (and then an easy way to merge two lines in python?)

Best Answer

Dissolve Lines

update link (28th October 2014) http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005n000000 Single Part & DISSOLVE_LINES enable in the geoprocessing tool.

Related Question