Skip to main content
Solved

Dangle Line Elimination?


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.

View original
Did this help you find an answer to your question?

3 replies

dustin
Influencer
Forum|alt.badge.img+30
  • 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
dustin wrote:

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+30
  • Influencer
  • July 13, 2018
craniumak wrote:
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!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings