Skip to main content
Solved

How to identify polylines which form a 360 degree loop based on same attributes?

  • February 6, 2019
  • 6 replies
  • 14 views

I would like to identify 360 degree loops formed from a polyline and its attributes. ID's are the same but should only occur on 3 or less edges and not 4, forming the "loop".

Below image gives a clearer overview.

How will I go about identifying these issues?

 

Thanks

Best answer by david_r

One possible solution is to use the AreaBuilder with a Group By on the "ID" attribute. Specify a list name and use the ListElementCounter to check for >= 4 elements on the output areas.

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.

6 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • February 6, 2019

One possible solution is to use the AreaBuilder with a Group By on the "ID" attribute. Specify a list name and use the ListElementCounter to check for >= 4 elements on the output areas.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3429 replies
  • February 6, 2019

You could use an AreaBuilder, grouping by the ID. Lines that form a loop are output as an area, if no loop is formed they are output via the incomplete port.


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • February 6, 2019

Correct me if I'm wrong, but the ID: 02 lines don't form a loop, do they? The connecting piece is ID: 01


  • Author
  • 2 replies
  • February 6, 2019

Correct me if I'm wrong, but the ID: 02 lines don't form a loop, do they? The connecting piece is ID: 01

Yes, this is correct


Forum|alt.badge.img
  • 48 replies
  • February 6, 2019

Hi @wendyels

Are you trying to get rid of all "SEQ: 4" if so just filter them or is it that you want to remove the 4th part of a grouping if it makes a "loop"?


  • Author
  • 2 replies
  • February 7, 2019

One possible solution is to use the AreaBuilder with a Group By on the "ID" attribute. Specify a list name and use the ListElementCounter to check for >= 4 elements on the output areas.

Thanks for the solution. This solution works quite well.