Skip to main content

Hello there

we have a set of points getting to the line builder, not in sequence

how we could organize them to build them straight line

pointwe are getting this from the line builder

line builder 2I think the line builder is connecting the point in the order they enter the linebuilder

Any idea

thanks

 

The LineBuilder does indeed connect the points in the order they enter (as is said in the documentation).

Would you like to create a 'best fitting' straight line? Or maybe sort the points first in ascending X and ascending Y, before they enter the LineBuilder?


The LineBuilder does indeed connect the points in the order they enter (as is said in the documentation).

Would you like to create a 'best fitting' straight line? Or maybe sort the points first in ascending X and ascending Y, before they enter the LineBuilder?

@geomancer​  thanks Great approch

 


Hi @boubcher​, if the points you are trying to connect have an attribute that defines the order of the points, you can use a Sorter to sort the points by that attribute before connecting them to the LineBuilder.


Reply