I'm trying to calculate polygon length. I know it's a pretty complex thing to do, since I need to calculate the medial axis using a CenterLineReplacer, then a LengthCalculator to calculate the length.
The thing is, I've got some pretty complex geometry at times (donutholes, multiparts) but it doesn't seem to be the problem (Using Deaggregator and DonutHoleExtractor). FME takes pretty long on these, stating:
WARN |CenterLineReplacer: Unable to prepare geometry for skeleton construction
WARN |CenterLineReplacer: Failed to convert geometry on feature to a straight-skeleton representation.
After a while, it even halts the entire Workbench.
Is there a better alternative to all this? I've got >8000 polygons, all very different in complexity, so I'm hoping to do this without having to filter out which geometry it halts on. I don't have a lot of Python experience, is it possible with a little bit of Python?
Thanks in advance!