Skip to main content
Question

Issues with the LineCombiner - possible bug


Forum|alt.badge.img

I'm finding that the LineCombiner is causing issues when combined with an AreaBuilder. The non-combined lines in a workspace I have created successfully create areas but, when the lines are combined, they then make up incomplete areas.

 

You can see in the below image that, once one of the line datasets go through the LineCombiner, they do not successfully create the areas.

LineCombiner bug 

Is this a bug?

8 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • April 26, 2023

If you insert an Intersector between the LineCombiner and the AreaBuilder, do you get the expected results? The Intersected port would be fed into the AreaBuilder.

 


Forum|alt.badge.img
  • Author
  • April 26, 2023
dustin wrote:

If you insert an Intersector between the LineCombiner and the AreaBuilder, do you get the expected results? The Intersected port would be fed into the AreaBuilder.

 

Yes, no intersections are encountered. 18 rows go in, 18 come out


dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • April 26, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

Hmm, I'd be curious to see what happens if you feed both the 18 combined lines and the other 132 lines into the Intersector. 95% of the time when I have issues with the AreaBuilder, an Intersector prior will take care of it.


Forum|alt.badge.img
  • Author
  • April 26, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

The Intersector does work so that is a useful addition, thanks for the help. I still think that the LineCombiner-AreaBuilder combination appears to be a bit buggy.

LineCombiner - IntersectorLineCombiner - No intersector


DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • April 26, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

Hi @bi​ There's nothing buggy about it - the AreaBuilder requires input lines to be properly noded. In your case the Intersector created 159 lines from 150.


Forum|alt.badge.img
  • Author
  • April 26, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

The data were properly noded before the linecombiner and the areabuilder worked. Something in the linecombiner transformer changed that​, suggesting the start and/or end nodes were edited in some way


DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • April 26, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

@bi​ Please file a case at https://community.safe.com/s/submit-case if you think is bug. Thanks!


david_r
Celebrity
  • April 27, 2023
bi wrote:

Yes, no intersections are encountered. 18 rows go in, 18 come out

You could also pass all your line segments (before the LineCombiner) through a Snapper set to end point snapping. If you get anything out of the Snapped output port, it would indicate that the line segments aren't correctly noded.


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