Skip to main content

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?

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.

 


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


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.


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


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.


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


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!


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.


Reply