CenterPointReplacer

From Fmepedia

CenterPointReplacer is a Workbench Transformer.


Transformer Info

The CenterPointReplacer replaces an object with a point feature which represents the centerpoint of the original object. The centerpoint is defined as the geographical center of the object's bounding box. Please note that depending on the shape of the object, the centerpoint may very well be outside the original object. If you want to generate a point that's guaranteed to be inside the object, use an InsidePointReplacer or LabelPointReplacer instead.


Related Custom Transformers

If you just want to grab the coordinates of the centerpoint, you can use the CenterPointFetcher custom transformer.

If you want to find the centre of gravity for a number of point features, and/or weight a calculation using a particular attribute, then use the CenterOfGravityAccumulator custom transformer.

User Comments Add a new comment