fmeobjects.FMERaster.setOutputSize

FMERaster.setOutputSize(rows, cols)

Change the source to the size specified.

Parameters:
  • rows (int) – Number of rows.

  • cols (int) – Number of columns.

Return type:

tuple[int]

Returns:

New number of rows and columns after resampling the raster.

Raises:

FMEException – An exception is raised if an error occurred.