fmeobjects.FMERasterTools.applyRotation¶
-
FMERasterTools.applyRotation(interpolation, raster)¶ Performs rotation on a raster to remove the rotation properties but maintain a similar visual image.
The raster will be rotated by the negative of the existing rotation angle of the input raster so that the resultant raster will have a rotation angle of zero.
Parameters: - interpolation (int) –
Interpolation type of the raster. Choose one of:
FME_INTERPOLATION_NEARESTNEIGHBORFME_INTERPOLATION_BILINEARFME_INTERPOLATION_BICUBICFME_INTERPOLATION_AVERAGE4FME_INTERPOLATION_AVERAGE16FME_INTERPOLATION_SOURCE - raster (FMERaster) – Raster object to apply rotation to.
Return type: Returns: The raster after applying rotation.
Raises: FMEException – An exception is raised if an error occurred.
- interpolation (int) –