fmeobjects.FMERasterTools.affineTransform

FMERasterTools.affineTransform(affineTransformList, raster)

Performs an affine transformation on a raster.

Parameters:
  • affineTransformList (list[float]) – List containing 6 Coefficients. - A B C D E F in the affine transformation x’ = Ax + By + C, y’ = Dx + Ey + F

  • raster (FMERaster) – The raster object to apply affine transformation to.

Return type:

FMERaster

Returns:

The raster after performing an affine transformation.

Raises:

FMEException – An exception is raised if an error occurred.