fmeobjects.FMEReprojector.reprojectFeature

FMEReprojector.reprojectFeature(feature)

This reprojects the given feature using the coordinate systems currently set. This honours any pre-reproject functions set. If the feature has a source coordinate system set, it will be used instead of the source coordinate system set on the current reprojector. If None is passed in, None is returned.

Parameters:feature (FMEFeature or None) – The feature to reproject.
Return type:FMEFeature or None
Returns:The input feature after reprojection.
Raises:FMEException – An exception is raised if an error occurred.