GeometryCoercer
A GeometryCoercer forces a change in geometry from one type to a similar (compatible) type. For example, a line that closes back on its own start point could be coerced into a polygon (and vice versa). A text feature could be coerced into a plain point feature.
This operation only works on simple features (for example, donuts or aggregates are output untouched) and may have no effect when the new geometry type is incompatible with a feature's current geometry.
This transformer is often used to have area features treated as though they were linear features, either because some later processing requires lines, or the destination format represents lines different than polygons and the linear representation is desired.
NB: Donut Polygons
The GeometryCoercer can't be directly used to convert donut polygons to lines. If you need to do this, extract the donut parts first using the DonutHoleExtractor.
Example
See attachment: GeometryCoercerExample.zip for an example use of the GeometryCoercer transformer.
In this example a polygon feature is coerced into a line, and then back into a polygon. Labels (text features) are coerced into simple point features.
Workspace Screenshot

Output Screenshot