fmeobjects.FMEFeature.setGeometryType

FMEFeature.setGeometryType(geomType)

Set the feature’s classic geometry type.

geomType must one of: FME_GEOM_UNDEFINED, FME_GEOM_POINT, FME_GEOM_LINE, FME_GEOM_POLYGON, FME_GEOM_DONUT, FME_GEOM_PIP, or FME_GEOM_AGGREGATE.

Parameters:

geomType (int) – The geometry type to set the feature to.

Return type:

None