Skip to main content
Question

Build smooth line


boubcher
Contributor
Forum|alt.badge.img+11

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

takashi
Influencer
  • March 16, 2022

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.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • March 16, 2022
takashi wrote:

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

 


takashi
Influencer
  • March 16, 2022
boubcher wrote:

@Takashi Iijima​ 

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

 

Yes, that's right.


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