Skip to main content
Solved

Dangle Line Elimination?

  • July 13, 2018
  • 3 replies
  • 150 views

Forum|alt.badge.img+1

For the life of me, I cannot figure out today how to eliminate dangle lines. End goal here is I am looking at which fire hydrants we have, that can be easily accessed by a fire truck that are not on a dead end street. Any assistance will be greatly appreciated.

Best answer by dustin

If all the lines are topologically connected, you could send the lines through the AreaBuilder. The 'Incomplete' output should be your dangling lines. Feed all your lines into the Candidate port of a SpatialFilter, and the output of the 'Incomplete' into the Filter port of the Spatial Filter. Set the Spatial Predicates Test to 'Filter Equals Candidate'. Out of the Failed port of the SpatialFilter should be your non-dangling lines.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • July 13, 2018

If all the lines are topologically connected, you could send the lines through the AreaBuilder. The 'Incomplete' output should be your dangling lines. Feed all your lines into the Candidate port of a SpatialFilter, and the output of the 'Incomplete' into the Filter port of the Spatial Filter. Set the Spatial Predicates Test to 'Filter Equals Candidate'. Out of the Failed port of the SpatialFilter should be your non-dangling lines.


Forum|alt.badge.img+1
  • Author
  • July 13, 2018

If all the lines are topologically connected, you could send the lines through the AreaBuilder. The 'Incomplete' output should be your dangling lines. Feed all your lines into the Candidate port of a SpatialFilter, and the output of the 'Incomplete' into the Filter port of the Spatial Filter. Set the Spatial Predicates Test to 'Filter Equals Candidate'. Out of the Failed port of the SpatialFilter should be your non-dangling lines.

Thanks catoscro! I totally used, but overlooked the functionality of the AreaBuilder. I was thinking too hard on this one and really just needed to keep things simple. This was the winning ticket for the final outcome of what I was looking for. Thanks again.

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • July 13, 2018
Thanks catoscro! I totally used, but overlooked the functionality of the AreaBuilder. I was thinking too hard on this one and really just needed to keep things simple. This was the winning ticket for the final outcome of what I was looking for. Thanks again.
Great! You're welcome!