RasterAspectCalculator
Calculates the aspect (direction of slope) for each cell 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.
Input Ports
Input features must contain raster geometries only.
Output Ports
Raster features with the calculated aspect values will be output through this port.
Parameters
Whether to calculate values at raster edges and near nodata values.
When this is set to No, there will be a one pixel border around the edge of the raster set to the nodata value. Additionally, when any pixel in the 3x3 window used to calculate the aspect value is equal to nodata, the output pixel will also be set to nodata.
When this is set to Yes, values around the edge and near nodata values will be estimated by interpolating missing values. Note that holes will not be filled in. That is, cells that are nodata in the input image will remain nodata in the output.
The algorithm used to calculate the aspect. Some analyses have suggested that Horn's formula is better suited to rougher terrain, whereas Zevenbergen & Thorne's formula is better for smooth terrain.
Usage Notes
This transformer supports raster band selection. The RasterSelector can be used to modify this selection.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.