Skip to main content

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

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.


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.


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


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


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"?


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.


Reply