Select to view content in your preferred language

problem with dissolving a stream

1032
3
01-10-2013 10:36 AM
saadatumohammed
Emerging Contributor
Hello

can any one help me with a python script to dissolve a stream using their stream order. when i use arcgis tool to dissolve the stream segment using their order,some of the higher order segments join together. example is like 2 segments of order 2 join together to form one segment of order 2.i normally use split tool to split.but i want to write a tool and i need to automate this procedure to continue with my work. thanks in advance
Tags (2)
0 Kudos
3 Replies
ChrisSnyder
Honored Contributor
Are you specifying "SINGLE_PART" for the dissolve?

For whatever reason, ESRI decided to make "MULTI_PART" the default, which causes a lot of issues I think.
0 Kudos
saadatumohammed
Emerging Contributor
Hello Chris

thanks a lot. there has been much much improvement. however few once still remains. especially, a node where two  different segment of the same order meet. result in one rather than two segments. any advice is welcomes
0 Kudos
ChrisSnyder
Honored Contributor
Hmmm.... Try checking the "Unsplit lines (optional)" setting - via a Python script that would be "UNSPLIT_LINES"
0 Kudos