fmeobjects.FMEFeature.importGeometryFromOGCWKT

FMEFeature.importGeometryFromOGCWKT(ogcwkt)

Set the geometry of the feature to be that specified in the OGC Well Known Text format. If the feature has geometry, then the geometry is replaced.

Parameters:ogcwkt (str) – Specifies the geometry of the feature.
Return type:None
Raises:FMEException – An exception is raised if an error occurred.