Dissolving lines with opposing direcionality

3720
11
03-23-2012 10:51 AM
TomSomers
New Contributor
When you dissolve arcs using the dissolve tool, does directionality of the arcs come into play. In other words, if two adjacent arcs are not going in the same direction will they not be dissolved.
0 Kudos
11 Replies
Robert_LeClair
Esri Notable Contributor
It can come into play if you check the Unsplit Lines parameter in the DISSOVLE GP tool.  By doing so, lines are only dissolved when two lines have an end vertex in common.

Regards,

Robert LeClair
Esri-Denver
0 Kudos
TomSomers
New Contributor
So if it is unchecked, all connecting lines with the same chosen attribute value will be dissolved regardless of directionality?
0 Kudos
Robert_LeClair
Esri Notable Contributor
Yes, this is the default behavior...
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
There seems to be some confusion about the Unsplit Line parameter here. The correct descriptions are:
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Dissolve/00170000005n000000/
"�?�The Unsplit lines parameter with two options, DISSOLVE_LINES and UNSPLIT_LINES, only applies to line input. When the default DISSOLVE_LINES option is specified, lines are dissolved into a single feature. When UNSPLIT_LINES is specified, only two lines that have a common endpoint (known as pseudonode) are merged into one continuous line."

http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/How_Dissolve_Data_Management_works/001...
"The Unsplit lines parameter can be used to remove endpoints that are common to only two lines and merge the two lines into one continuous line. A common endpoint shared by no more than two lines is also known as a pseudo node."

An endpoint here doesn't mean an "ending point" (vs. the "starting point"); it just means either end of a line.

So make sure you have the "Unsplilt line" checkbox checked to get lines connected with a pseudo node merged, regardless of their "line directions".
0 Kudos
TomSomers
New Contributor
Thanks for the info. The strange thing is that when I processed the data with the "Unsplilt line" checkbox checked I end up with many lines duplicated. It also seems to dissolve the lines through intersections. Very strange.
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
Could you attach a small sample data that reproduces the issues and describe exactly how you processed to get the strange results (Dissolve and Intersect)?
0 Kudos
TomSomers
New Contributor
Sure, the attached file contains a piece of what I'm trying to dissolve. It contains hydro data which I'm trying to dissolve based on a field called Feat_Code. I used the dissolve tool in the arc toolbox and I'm using Arc 9.3.

I checked the "Unsplit Lines" box and also selected most of the other attributes in the "Statistics Field" option with their appropriate statistic types.
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
Tom,

Thank you for providing the test data. ArcGIS 9.3 does have a bug in Dissolve, not doing UNSPLIT correctly. I can't think of an easy workaround. Sorry about the problem you run into.

I have tested in ArcGIS 10 SP3 and Dissolve seems to work correctly; I didn't verify every resulting feature, but a few that didn't work in 9.3. Many features remain unchanged even they have common feature code because they are not connected.

If you can find a colleague who has ArcGIS 10 and can run the process for you, that would be great. Otherwise, I hope you would upgrade to ArcGIS 10 in the near future.
0 Kudos
Jong-GeunKim
New Contributor
This post clearly explained what I wanted to know. Thanks a lot.

I am wondring if there is any way for the UNSPLIT (or other method) to honor the directions of pre-dissolve lines so that the resulting dissolved line does not flip the directionality of the originals? This turned out critically important since the lines of my road network are digitized along the driving direction. So I would like to maintain the direction of the original lines while reducing the network size by using UNSPLIT.

Any comments or recommendations are appreciated.

J-G Kim
0 Kudos