Question

Build smooth line

  • 16 March 2022
  • 3 replies
  • 7 views

Badge +10

Hello there

we are building line from multiples point

pointusing line builder we get this

line builderusing line smoothness we get this

line resulsas you can see still there is some pics there the line is not very street

how could we improve the result to get a straight line

wsI played with the tolerance but still the same result

 


3 replies

Userlevel 2
Badge +17

Hi @boubcher​ , a possible way is:

CoordinateExtractor (Mode: Specify Coordinate, Coordinate Index: -1): Extract coordinates of the end point.

VertexRemover (Keep or Remove Coordinates: Keep, Coordinate Index: 0, Number to Keep/Remove: 1): Keep the start point.

VertexCreator (Mode: Add Point): Add the end coordinates extracted by the CoordinateExtractor to form a straight line between start and end points.

Hope this helps.

Badge +10

Hi @boubcher​ , a possible way is:

CoordinateExtractor (Mode: Specify Coordinate, Coordinate Index: -1): Extract coordinates of the end point.

VertexRemover (Keep or Remove Coordinates: Keep, Coordinate Index: 0, Number to Keep/Remove: 1): Keep the start point.

VertexCreator (Mode: Add Point): Add the end coordinates extracted by the CoordinateExtractor to form a straight line between start and end points.

Hope this helps.

@Takashi Iijima​ 

you mean rebuild the line from the start and end point of the line right

 

Userlevel 2
Badge +17

@Takashi Iijima​ 

you mean rebuild the line from the start and end point of the line right

 

Yes, that's right.

Reply