Using quite a simple polygon in Geometry Replacer, this transformer fails to convert to skeleton centerline. In this question example we isolated only 1 polygon that makes the centerline replacer to crash as an example; it’s something we have observed over time with different datasets, etc..
The question is - why does centerline replacer using skeleton option fails even if this geometry from shapefile seems rather simple?
Tested FME 2014 SP and FME 2015 SP1. The centerline replacer failure using skeleton option was there in previous versions also.
In the example we are sending, we identified 1 coordinate that seems to be offending the polygon and causing this crash. We isolate this coordinate, and by moving it very little, the centerline skeleton already works, still, it was not a coordinate that was near or on top of another etc.
Attached you will find the polygon (1 polygon only) and the WS with some tests.
Assumptions:
- -We do know that using generalizer helps to prevent crashes using Centerline Replacer, but we don’t want to generalize as we want to maintain this exact polygon coordinates to maintain topology to neighboring polys; Being already a simple poly we don’t want to generalize further;
- -Tested for duplicate coordinates and there are no duplicate coordinates on the polygon boundary.
Restating the question, why does centerline replacer using skeleton option fails even if this geometry from shapefile seems rather simple? By trying to understand why this 1 polygon fails, might help to modify the skeleton replacer and prevent more features to crash.
Thanks in advance,
Ricardo
PS: Topics in not directly related - CenterLineReplacer not available as a Topic