It is clear that issue locations port show one vertex of duplicate point with coordinates (x,y).
i would like to know the two vertex that duplicated then I choose one of them to cancel .
but it show me only one vertex .
How could I achieve it ?
FME 2021
Best answer by DanAtSafe
Hi @soly There’s no way to be given a choice at run-time. Do you think that the GeometryValidator is generally removing the wrong vertices? Instead of the GeometryValidator, I’d start with a Chopper to create 2-point line segments, then a LengthCalculator to find the shortest segments.
Hi @soly There’s no way to be given a choice at run-time. Do you think that the GeometryValidator is generally removing the wrong vertices? Instead of the GeometryValidator, I’d start with a Chopper to create 2-point line segments, then a LengthCalculator to find the shortest segments.
Result of Removing Duplicate Consecutive Points with the GeometryValidator
Hi @soly The image should explain what the GeometryValidator does. The orange line is the input with distances between vertices; the red diamonds are the issues (removed vertices); and the green line is the Repaired feature.
end points are kept
vertices are tested in pairs and in order on the feature, checking the distance to the following vertex
the 2nd vertex from each pair is not considered for removal
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.