BoundsExtractor
Extracts the minimum and maximum values of the feature’s coordinates into new attributes.
It determines the extreme values of the feature in each of the x and y (and optionally z) axes, and assigns these values to the resulting attribute names.
This transformer does not change the geometry of the original feature.
Parameters
The names of the attributes to be assigned the minimum and maximum values of the feature along the X, Y, and Z axes. If the feature has only two dimensions, the Z Attributes will be set to 0. All of these parameters are optional.
Example
As each feature enters the transformer, it has six new attributes added to it to hold the extents of the feature.
If a feature had the coordinates (1,10,100), (2,-20,150), then after leaving the transformer, it would have these new attributes with these values:
Attribute | Value |
---|---|
_xmin | 1 |
_xmax | 2 |
_ymin | -20 |
_ymax | 10 |
_zmin | 100 |
_zmax | 150 |
Editing Transformer Parameters
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.
Transformer Categories
Related Transformers
- To accumulate the bounding box of a number of features, use the BoundingBoxAccumulator.
- To replace a feature with its bounding box, use the BoundingBoxReplacer.
Search FME Community
Search for samples and information about this transformer on the FME Community.
Keywords: MBR "minimum bounding rectangle" "neatline envelope" "Topfer index"