Replaces an area feature with its medial axis or a straight skeleton. This transformer works best with long, narrow areas.
The centerline of the input feature will be output via this port.
Features that cannot be replaced by their centerline will be output via this port.
Rejected features will have an fme_rejection_code attribute with the value INVALID_GEOMETRY.
Medial Axis: The geometry of an area feature is replaced by its medial axis. The medial axis is the subset of the straight skeleton that does not include any edges that share a vertex with the original area.
Straight Skeleton: The geometry of an area feature is replaced by its straight skeleton (angular bisector network). All edges that share a vertex with the original area are removed.
Note: In either of these modes, the algorithm may take a long time to run on large or complex input features.
Donuts that contain holes that touch will produce incorrect output.
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
When combined with the Tester, this transformer enables FME to perform area generalization operations.
Associated FME function or factory: @ConvertToLine
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: abstraction simplification simplify centerline centreline CentreLineReplacer