BoundingBoxReplacer
Replaces the geometry of the feature with either its two-dimensional bounding box, its two-dimensional minimum oriented bounding box, or its three-dimensional bounding cube.
If a feature’s bounding box has zero area, it will become a line or a point.
Parameters
Choose2D Bounding Box(which means the axis-aligned or rectilinear bounding box),2D Oriented Bounding Box,或3D Bounding Cube.
If a 3D Bounding Cube is chosen but the original geometry is 2D, a 2D Bounding Box will be created instead.
Optionally, you can calculate the lengths of the shortest and longest sides of the chosen bounding box or cube. They will appear as attributes in theBoxoutput port.
Example
Related Transformers
- To accumulate the bounding box of a number of features, use theBoundingBoxAccumulator.
- To retrieve the bounds of a feature into attributes, use theBoundsExtractor.
- To replace the geometry of a feature with a box whose values come from attributes, use the2DBoxReplacer.
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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.
Transformer Categories
FME社区搜索:亚搏国际在线官网
Search for samples and information about this transformer on theFME Community.
Keywords: MBR "minimum bounding rectangle" neatline "envelope oriented" "bounding box"