Skip to main content
Question

Detecting not connected lines

  • July 3, 2019
  • 1 reply
  • 9 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?

1 reply

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • 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.


Reply


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