Select to view content in your preferred language

Merging line segments by start/end points

1694
4
02-07-2012 04:58 AM
DouglasMinnigh
Emerging Contributor
I was curious to know how one would merge line segments that have similiar start and end points. For example:

FID     Start     End
1          0          7
2          7          53
3          53         82
4         108         123
5         123         135

I want to be able to turn these 5 segments into 2 by using their start and end points. I do not think a dissolve would work for this but i could be wrong. Any suggestions?
Tags (2)
0 Kudos
4 Replies
DanPatterson_Retired
MVP Emeritus
You could experiment with a dissolve, then try a MultipartToSinglePart to see if it segments the way you want it to
0 Kudos
DouglasMinnigh
Emerging Contributor
What would i dissolve that on though? I dont have a common feature to dissolve it on
0 Kudos
DanPatterson_Retired
MVP Emeritus
If memory serves, the attribute field is optional, you want the unslit lines option
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Dissolve/00170000005n000000/
0 Kudos
DouglasMinnigh
Emerging Contributor
After a bunch of different analysis this is what I need now if possible. I Have a series of segments with attributes I need. It breaks at the boundary of the intersecting polygon border. Each segment can break numerous times within the polygon. I need the following type of query:

If the line runs across the polygon for 50+ feet I want it selected.
       Problem I am having: numerous segments run across. Example
           |-------30--------|------24------|
        This would be the segments inside the polygon. Individually it doesnt add to 50 so my query doesnt recognize it even though as a whole it is over 50.

Does that make sense?

Any help is appreciated!
0 Kudos