fmeobjects.FMEBandTilePopulator

Inheritance diagram of fmeobjects.FMEBandTilePopulator

FMEBandTilePopulator.clone()

Creates FMEBandTilePopulator as a clone of this object.

FMEBandTilePopulator.getTile(startRow, ...)

Populates a tile of data starting at 'startRow' and 'startCol' and encapsulating the number of rows and columns defined in the tile.

FMEBandTilePopulator.setDeleteSourceOnDestroy(...)

Sets 'deleteFlag', identifying whether a populator should delete its source data file when destroyed.

FMEBandTilePopulator.setOutputSize(rows, cols)

Sets the output size of the source.

class FMEBandTilePopulator

FME Band Tile Populator Superclass

FMEBandTilePopulator must be subclassed.

__init__(*args, **kwargs)
clone()

Creates FMEBandTilePopulator as a clone of this object.

Return type:

FMEBandTilePopulator

Returns:

A clone of the original object.

This method must be implemented in the FMEBandTilePopulator subclass.

getTile(startRow, startCol, tile)

Populates a tile of data starting at ‘startRow’ and ‘startCol’ and encapsulating the number of rows and columns defined in the tile.

Parameters:
  • startRow (int) – Row number to start tile population.

  • startCol (int) – Column number to start tile population.

  • tile (FMETile) – Tile to populate.

Return type:

Concrete class of FMETile type

Returns:

Tile after populating a tile of data.

Raises:

FMEException – An exception is raised if an error occurred.

This method must be implemented in the FMEBandTilePopulator subclass.

setDeleteSourceOnDestroy(deleteFlag)

Sets ‘deleteFlag’, identifying whether a populator should delete its source data file when destroyed.

Parameters:

deleteFlag (bool) – True to delete, False not to delete.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.

This method must be implemented in the FMEBandTilePopulator subclass.

setOutputSize(rows, cols)

Sets the output size of the source.

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.

This method must be implemented in the FMEBandTilePopulator subclass.