fmeobjects.FMEBandTilePopulator
Creates |
|
|
Populates a tile of data starting at 'startRow' and 'startCol' and encapsulating the number of rows and columns defined in the tile. |
Sets 'deleteFlag', identifying whether a populator should delete its source data file when destroyed. |
|
|
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:
- 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:
- 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:
- 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:
- Return type:
- 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.