Home | Trees | Indices | Help |
|
---|
|
init(MultipleInvocations)
FMEBandProperties class.
Create an instance of a FMEBandProperties object.
init(nameString, interpretation, tileType, numTileRows, numTileColumns)
Creates a band property with the given properties.
Parameters
nameString (string)
- Name of the band.
interpretation (int)
- Interpretation of a band. Choose
one of:
FME_INTERPRETATION_NULL FME_INTERPRETATION_REAL64 FME_INTERPRETATION_REAL32 FME_INTERPRETATION_UINT64 FME_INTERPRETATION_INT64 FME_INTERPRETATION_UINT32 FME_INTERPRETATION_INT32 FME_INTERPRETATION_UINT16 FME_INTERPRETATION_INT16 FME_INTERPRETATION_UINT8 FME_INTERPRETATION_INT8 FME_INTERPRETATION_RGB24 FME_INTERPRETATION_RGBA32 FME_INTERPRETATION_RGB48 FME_INTERPRETATION_RGBA64 FME_INTERPRETATION_GRAY8 FME_INTERPRETATION_GRAY16 FME_INTERPRETATION_RED8 FME_INTERPRETATION_RED16 FME_INTERPRETATION_GREEN8 FME_INTERPRETATION_GREEN16 FME_INTERPRETATION_BLUE8 FME_INTERPRETATION_BLUE16 FME_INTERPRETATION_ALPHA8 FME_INTERPRETATION_ALPHA16 FME_INTERPRETATION_STRING
tileType (int)
- Tile type that can most efficiently
support data access. Possible values:
FME_TILE_TYPE_FIXED: Tile requests made to a band must be equal to the band's tile size.
FME_TILE_TYPE_FIXED_MULTIPLE: Tile requests made to a band must be a multiple of the band's tile size.
FME_TILE_TYPE_FLEXIBLE: The band tile size is a suggestion only, and the band can handle any arbitrary tile size.
numTileRows (int)
- Number of rows per tile in the
raster.
numTileColumns (int)
- Number of columns per tile in
the raster.
Returns: FMEBandProperties
init(bandProperties)
Create a copy of the passed in bandProperties object.
Parameters
bandProperties FMEBandProperties
- The bandProperties object
to create a copy of.
Returns: FMEBandProperties
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
bool
|
|
||
int
|
|
||
int
|
|
||
string or None
|
|
||
int
|
|
||
int
|
|
||
int
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
Evaluates whether two band properties are identical.
|
Returns bit depth of the band.
|
Returns the name of the band.
|
Returns the number of columns in the tile size of the band. That is, this represents the most efficient tile size for data access. Note that a band can return data for any tile size (i.e. FMEBand.getTile will accept any tile), but using a tile with this size may have better performance or lower memory usage.
|
Returns the number of rows in the tile size of the band. That is, this represents the most efficient tile size for data access. Note that a band can return data for any tile size (i.e. FMEBand.getTile will accept any tile), but using a tile with this size may have better performance or lower memory usage.
|
Returns tile type representing the type of data access supported by this band. Possible values: FME_TILE_TYPE_FIXED: Tile requests made to a band must be equal to the band's tile size. FME_TILE_TYPE_FIXED_MULTIPLE: Tile requests made to a band must be a multiple of the band's tile size. FME_TILE_TYPE_FLEXIBLE: The band tile size is a suggestion only, and the band can handle any arbitrary tile size. When getTileType() returns FME_TILE_TYPE_FIXED, the band tile size (from getNumTileRows() and getNumTileCols()) is a requirement. That is, only tiles of the specified size can be properly filled. When getTileType() returns FME_TILE_TYPE_FLEXIBLE, the band tile size is only a suggestion, and it implies the most efficient tile size for data access. Note that this value is only relevant for readers. That is, when creating a reader, this value should be specified depending on how FMEBandTilePopulator is implemented. On the other hand, a consumer of data (e.g. a writer) can always request data in whatever size is desired, regardless of this value. FME will reconcile the writer request size with the reader's supported tile size.
|
Evaluates whether the band properties have been modified from their baseline state.
|
Sets the interpretation of the band.
|
Sets whether band properties have been modified from baseline state. Note that hasBeenModified is initially set to False.
|
Sets name of the band.
|
Sets the number of columns per tile in the raster
|
Sets the number of rows per tile in the raster.
|
Sets the tile type that can most efficiently support data access.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:20:54 2017 | http://epydoc.sourceforge.net |