fmeobjects.FMEFeature.chopUp

FMEFeature.chopUp(vertexThreshold)

Convert a feature into an aggregate where each member of the aggregate has fewer than the threshold number of vertices.

If the feature was an area based feature, it will do area chopping, subdividing the area so that no area piece has more than the number of vertices.

If the feature was linear, then the line is broken into chunks that meet the size criteria.

Parameters:

vertexThreshold (int) – The threshold number of vertices.

Return type:

bool

Returns:

True if the feature was chopped, False otherwise.

Raises:

FMEException – An exception is raised if an error occurred.