Skip to main content

Hello ,

i would like to remove specific index of a vertex coordinates from a line .then build the line without this vertex .

How could I achieve it ? 
 

my second question :

How could I find which index vertex coordinates so close to next index coordinates ? 
then filter it to keep only one of them.

thanks in advance

FME 2021  

 

i would like to remove specific index of a vertex coordinates from a line .then build the line without this vertex .

How could I achieve it ? 
 

You can use the VertexRemover. It is not necessary to recreate the line.


I tried to use vertex remover but it does not work with me .

could u share the parameter in vertex remover ?

How to find which index of coordinate is close to the next index coordinates of vertex ?


Hi @soly You might want to use a GeometryValidator (instead of a VertexRemover) detecting the issue “Duplicate Consecutive Points”; set the tolerance to the minimum allowable distance.


@DanAtSafe

You are right .

By using repaired port of geometry validator .

it cancel only the duplicate index ,right ?

without changing any geometry of the line .

is there any other effect on line ?

what are you doing when geometry validator detect duplicate consecutive ,how to fix it ?

use the repaired port or is there other accurate solution ?

 

thanks a lot 


@soly The first vertices within tolerance get removed.  This will change the geometry slightly.  Repaired features exit the Repaired port, and those unchanged exit the Passed port.


Reply