fmeobjects.FMEFeature.splitAggregate
- FMEFeature.splitAggregate(recurse)
Split up an aggregate feature into pieces, all of which have the same attributes and feature type. If the recurse flag is
True
, all aggregates within the aggregate are also split recursively, so no aggregates are ever returned as pieces. This method will only return points, lines, polygons, and null geometries (and possibly aggregates if recurse isFalse
). All other geometries will be converted to these when split.- Parameters:
recurse (bool) – (Optional) Whether to recursively split the aggregate until no aggregates remain. (Default value is
False
)- Return type:
- Returns:
A list of features resulting from the splitting of the original aggregate.
- Raises:
FMEException – An exception is raised if an error occurred.