Takes a set of point, linear, polygonal, and/or aggregate features, and creates a two-dimensional bounding box, which contains all features. The bounding box is defined as the minimum enclosing rectangle for all input features. The minimum rectangle is such that all sides of the rectangle are parallel to the x axis and the y axis.
The input features may be partitioned into groups based on attribute values using the Group By parameter, and one bounding box feature is output for each group. If the Group By parameter is not specified, then all input features will be processed together and a single bounding box will be output. If a given bounding box has zero area, it will become a line or a point.
One bounding box feature is output for each unique combination of values of the attributes specified in Group By parameter. The bounding box is the smallest rectangle that contains all the features that were members of the group. If Group By attributes are not specified, a single feature is output that represents the bounding box of all the features.
The Topfer index is a rule of thumb that dictates the number of source and destination features a generalized map should maintain. This parameter defaults to No. If you choose Yes, the Topfer Index Attribute and Source/Destination Scale parameters are enabled.
If you set the Calculate Topfer Index parameter to Yes, an attribute containing the Topfer index will be attached to both the BOUNDING_BOX and ORIGINAL output features.
The following formulas are used to calculate the scale factors of the source and destination data:
N-destination = N-source*((S-source/S-destination)**0.5)
where:
N-destination = number of features output
N-source = number of features in input
S-source = scale of source map
S-destination = scale of destination map
About Transformer Parameter Options
To retrieve the bounds of a feature into attributes, use the BoundsExtractor.
To replace a feature with its bounding box, use the BoundingBoxReplacer.
Search for samples and information about this transformer on FMEpedia.
Keywords: MBR "minimum bounding rectangle" neatline envelope "Topfer index"