Category: Collectors
Combines feature geometries into aggregates. One aggregate feature is output for each unique combination of values of the attributes specified in the GROUP BY.
If no GROUP BY attributes are specified, a single feature is output with all of the input geometry aggregated together onto it.
If only a single feature was in a particular group, then it is output as an aggregate with one part.
If Yes is chosen for Input is Ordered by Group, then the transformer will output all the aggregates it has accumulated so far every time the values of the Group By attributes change from one feature to the next.
If desired, attributes can be added to the resulting area features that contain the sum, average, or weighted (by area) average of some original attribute values. Note that non-area features will have a weight of zero in the weighted average calculation. Therefore if there are no area features, the weighted average will be infinity.
If the optional list name is supplied, a list is made of all the attributes of each feature that is aggregated when creating the output feature. This allows later inspection of the attributes of the original features making up the aggregate.
If Accumulate Attributes is set to Yes, then the attributes from the original features will be merged onto the output AGGREGATE features.
If a Count Attribute is given, then an attribute with this name will be added to each output aggregate, containing the number of features that were combined to create the aggregate.
If the Geometry Handling advanced setting is set to “Rich” in the workspace, the aggregated geometry will preserve arcs, ellipses, and text; they will otherwise be converted into points in the aggregated geometry.
NOTE: This transformer will not dissolve adjacent area boundaries – it simply creates a collection of all that it is given. The Dissolver should be used if adjacent areas are to be merged into a single area.
Example:

|
FME Function or Factory Used |
|
AggregateFactory |