Skip to main content
Question

Detecting not connected lines

  • July 3, 2019
  • 1 reply
  • 16 views

Forum|alt.badge.img+1

Hi,

 

I would like to detect lines, with the same attribute name - ID, that are not connected (they are splited but it shouldnt be so). Any suggestions?

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.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • July 3, 2019

I would use the LineCombiner transformer (group by ID).

Then a StatisticsCalculator transformer (use the ID attribute as group by), and use the count statistic.

Now using a Tester transformer on the complete port of the StatisticsCalculator you can filter all not connecting lines (count > 1).

Hope this helps.