Skip to main content
Question

linebuilder doesnt connect all points


Hello,

 

 

I try to connect points to assess certain river characteristics. I used LineBuilder > connection break attributes (to the attricube that speficies one specific profile along river). However, it's not one, line but split up in several parts, even though the attributes do have exactly the same number.

 

What is the reason for these 'cuts'? And moreover, how can I connect the lines?

 

 

Thank you very much!

 

 

2 replies

takashi
Evangelist
  • March 16, 2020

Hi @ymor_v,

the LineBuilder in FME 2018 and earlier connects point features belonging to the same group only while they are entered consecutively. That is, the connection will be broken when a feature belonging to different group is entered regardless of whether the features belonging to the first group are remained.

A possible workaround is, insert a Counter to add a sequential number representing the original order, use a Sorter to sort them by the connection break attribute (primary) and the original order (secondary), and then enter them into the LineBuilder.

 

In FME 2019+, the LineBuilder has the Group By parameter instead of the Connection Break Attribute parameter, and you don't need to sort the source features even if the features belonging to the same group aren't entered consecutively.


  • Author
  • March 16, 2020
takashi wrote:

Hi @ymor_v,

the LineBuilder in FME 2018 and earlier connects point features belonging to the same group only while they are entered consecutively. That is, the connection will be broken when a feature belonging to different group is entered regardless of whether the features belonging to the first group are remained.

A possible workaround is, insert a Counter to add a sequential number representing the original order, use a Sorter to sort them by the connection break attribute (primary) and the original order (secondary), and then enter them into the LineBuilder.

 

In FME 2019+, the LineBuilder has the Group By parameter instead of the Connection Break Attribute parameter, and you don't need to sort the source features even if the features belonging to the same group aren't entered consecutively.

Thank you @takashi !


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