Module fmeobjects :: Class FMEBandTilePopulator
[hide private]
[frames] | no frames]

Class FMEBandTilePopulator


FMEBandTilePopulator Superclass.

FMEBandTilePopulator must be subclassed.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
FMEBandTilePopulator
clone()
Creates FMEBandTilePopulator as a clone of this object.
Concrete class of FMETile type
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.
None
setDeleteSourceOnDestroy(deleteFlag)
Sets deleteFlag, identifying whether a populator should delete its source data file when destroyed.
tuple of int
setOutputSize(rows, cols)
Sets the output size of the source.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

clone()

 

Creates FMEBandTilePopulator as a clone of this object.

Returns: FMEBandTilePopulator
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.
Returns: Concrete class of FMETile type
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.
Returns: 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.
Returns: tuple of int
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.