fmeobjects.FMEFeature.removeGeometry

FMEFeature.removeGeometry()

Remove and return the feature’s geometry. The feature loses its geometry and it can no longer be accessed.

Return type:

FMEGeometry

Returns:

The geometry of the feature. Note: This method returns a terminal geometry type of the FMEGeometry; i.e. one of the leaf classes in the FMEGeometry inheritance graph. For example, a FMEPoint is returned if the geometry truly is a point.