Hi,
Background
FME 2017.1
I'm cutting impervious cover data at parcels and i'm getting an error on write. Error: The number of points is less than required for feature. Two causes are listed on ESRI's website
- A polyline feature with two vertices that are both located at the same location
- A polygon feature with less than three vertices.
I took a closer look at the features i'm writing and counted the vertices using NumCoords() FME Feature Function - all had 3 or more vertices
I also took a look at the vertex coordinates for each feature and found that they had duplicate coordinates. This seems to be the problem.
Question 1
Is there a good way to remove duplicate vertices?
I tried Geometry validator with the Duplicate Consecutive Points checked, but the write still failed with the same error.
I've also tried Geometry Refiner with no luck.
Question 2
Running the polygons through the Snapper transformer is working, but i'd like to do my best to change the data as little as possible.
I'm attempting to find the best value to use for the Snapper transformer's Snapping Tolerance field. Using ESRI Geodatabase polygon data, it seems like using the XY Resolution that is set on the data would be the best value to use, but i'm also not sure if XY Tolerance would be better. Thoughts?
Thank you very much