fmeobjects.FMEFeature.exportGeometryToOGCWKT

FMEFeature.exportGeometryToOGCWKT(version)

Convert the geometry of the feature to the OGC Well Known Text format.

Parameters:

version (int) –

(Optional) The OGC Version to use. Must be one of:

(Default value is ogcvOneDotOne).

Return type:

str

Returns:

A string representing the geometry of the feature converted to the OGCWKT.

Raises:

FMEException – An exception is raised if an error occurred.