Home | Trees | Indices | Help |
|
---|
|
init()
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
FMEBand |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMEBand |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMEBand |
|
||
FMERaster |
|
||
FMEPalette |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMEBand |
|
||
FMEBand |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMERaster |
|
||
FMEBand |
|
||
FMERaster |
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
Adds a band tile cache to a band. Adding a cache may improve performance in cases where a band will be read multiple times. In such cases, data read from the band will be cached, so that subsequent callers may have their FMEBand.getTile() requests filled without performing redundant processing. Note that a cache will not by default accumulate tiles. When created it is in an "undecided" state. In this state, it will accumulate tiles only if multiple instances of it exist(e.g.a clone is made after adding the cache). In order to force a cache to accumulate tiles, call FMEBand.enableBandCache() after calling this method. Adding a cache will be most useful when consumers request data in a tiled - BSQ interleaving. That is, when iterating over tiles first, then bands.
|
Performs an affine transformation on a raster.
|
Performs rotation on a raster to remove the rotation properties but maintain a similar visual image. The raster will be rotated by the negative of the existing rotation angle of the input raster so that the resultant raster will have a rotation angle of zero.
|
Calculates the aspect (direction of slope) for each selected band of a raster. Aspect is measured in degrees from 0 to 360, starting clockwise from the north. Each selected input band will be converted to a REAL64 band with output values that represent the aspect. If an input band does not have a nodata value, the output band nodata value will be set to - 1.
|
Performs a calculation of the distance between a vector line and a raster DEM. The line parameter is the input vector line. Having fewer vertices on the input line will improve the performance of this function but may decrease the accuracy of the data. The band parameter must be a numeric Digital Elevation Model(DEM) without a palette. The output band will also be a DEM containing smaller values where the distance from the source DEM elevations is less(darker areas) and larger values where the distance between the source DEM elevations is greater(lighter areas). The line must be in the same coordinate system as the raster.
|
Calculate the slope (maximum rate of change in z) for each selected band of a raster.
|
Sets a checkpoint in the raster processing which forces previous processing to occur immediately and saves the current state to disk once complete. Checkpointing a raster may improve performance when working with large rasters, where all the necessary data cannot be cached in memory. The temporary data file will be deleted when the raster is destroyed.
|
Performs clipping on a raster. The xMin, yMin, xMax, and yMax parameters specify the extents in ground units to which the raster will be clipped. If the extents do not intersect the raster, exception will be raised. If the extents align with or are larger than the raster extents, no processing will occur.
|
Converts data type of a raster. There are many assumptions on the input raster and the parameters: In RASTER mode :
In PALETTE mode :
|
Converts data type of a palette. Note that this method is similar to convertInterpretation with a mode of FME_REINTERPRET_MODE_PALETTE, except that this operates directly on a single palette, rather than on all the selected bands of a raster.
|
Creates a new band to represent the grouped single nodata value of all selected bands on the raster. A cell is considered to be nodata when, for each selected band, the value for that cell is equal to that band's nodata value. If any cell value is not equal to that band's nodata value, the cell will be considered data. The new band will be appended to the end of the raster. All selected bands are required to have a nodata value. The nodataValue and realDataValue tiles must be the same interpretation. The new band will be created with this interpretation.
|
Replaces the selected band(s) on the raster by a new band with a new palette. The palette will have at most numPaletteEntries number of entries and the interpretation. The interpretation must be large enough for the numPaletteEntries. For example, when the interpretation is FME_INTERPRETATION_UINT8, then the numPaletteEntries must not be larger than 256. If the interpretations of the selected bands do not make up a valid palette value interpretation, exception will be raised.
|
Generates a shaded relief effect, useful for visualizing terrain. Each selected input band will be converted to a GRAY8 band with hillshade values between 0 and 255. Additionally, if <interpolate nodata> is disabled or if the band has a nodata value, an additional ALPHA8 band will be generated, with a value of 0 where the input was nodata and a value of 255 where the input was data.
|
Mosaics multiple rasters into one raster. There are some assumptions of the inputRasters:
|
Performs offsetting on a raster. If all the three x, y, z component values are 0 then no offsetting will be performed. This method only works with numeric rasters without palettes.
|
Removes nodata value on the band.
|
Replaces a range of value in the source raster with a new single value. All values greater than or equal to minValue and less than or equal to maxValue will be replaced by replacementValue. Alternatively, if minValue is greater than maxValue, then then the bounds define two distinct ranges that will be replaced by replacementValue. For example, a minValue of 200 and a maxValue of 100 will replace all values that are greater than or equal to 200 or less than or equal to 100.
|
Performs coordinate system reprojection on a raster. Specifying the same destination and source values will cause no processing to occur. Specifying a source coordinate system that is not the coordinate system of the source raster will cause the source raster to be treated as if it had the specified coordinate system; reprojection will occur, but the results may not be meaningful.
|
Performs resampling (both upsampling and downsampling) on a raster using number of rows and columns. The number of rows and number of columns dictate the desired size of the raster after processing. Valid input values are positive integers. The new X / Y spacing of the raster will be determined based on the input rows and columns and the extents of the raster in ground coordinates.
|
Performs resampling (both upsampling and downsampling) on a raster using xSpacing and ySpacing. The X / Y spacing in ground units dictates the desired size of the raster after processing. Valid input values are positive floating point numbers. The new number of rows columns of the raster will be determined based on the input spacing and the extents of the raster in ground coordinates.
|
Resolves the values in a raster's bands to the values in the lookup palettes associated with each band. This method does not work with string palettes.
|
Adjusts the existing rotation angle on a raster by the specified rotationAngle. The rotationAngle specifies a counter clockwise (CCW) angle of rotation in degrees where 0 degrees is at 3 o-clock. Negative rotations are acceptable. Angles will be adjusted to be between 0 (inclusive) and 2PI (exclusive). If the rotationAngle is equal to 0 then no rotation will be performed.
|
Performs scaling on a raster. If all the three xscale, yscale, and zscale values are zero then no scaling will be performed.
|
Sets the nodata value on the band.
|
Performs clipping of a raster using pixel bounds rather than ground coordinates.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:21:03 2017 | http://epydoc.sourceforge.net |