BoundingBoxReplacer
Replaces the geometry of the feature with either its two-dimensional bounding box or its two-dimensional minimum oriented bounding box.
If a feature’s bounding box has zero area, it will become a line or a point. If the feature was originally 3D, it will be set to 2D upon leaving, and the z values will be ignored and dropped.
Parameters
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
选择边界框(表示轴对齐或直线边界框)或定向边界框
![Closed](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/../Skins/Default/Stylesheets/Images/transparent.gif)
Optionally, you can calculate the lengths of the shorter and longer sides of the chosen bounding box. 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.
- 用一个框中替换功能的几何图形,其中值来自属性的框,使用2DBoxReplacer.
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
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.
TagsKeywords: MBR "minimum bounding rectangle" neatline "envelope oriented" "bounding box"