NumericRasterizer
Draws input point, line and polygon features onto a numeric raster filled with the background value. The Z coordinates of the input vector features are used to generate pixel values. Features without Z coordinates will be discarded.
Note: Only the Group By attributes are preserved by this transformer. The output feature will also be supplied with an fme_basename attribute equal to the transformer name.
Parameters
If the Group By parameter is set to an attribute list, one raster per group will be produced.
Note: How parallel processing works with FME: see About Parallel Processing for detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by the Group By parameter.
Parallel Processing Levels
For example, on a quad-core machine, minimal parallelism will result in two simultaneous FME processes. Extreme parallelism on an 8-core machine would result in 16 simultaneous processes.
You can experiment with this feature and view the information in the Windows Task Manager and the Workbench Log window.
No: This is the default behavior. Processing will only occur in this transformer once all input is present.
By Group: This transformer will process input groups in order. Changes on the value of the Group By parameter on the input stream will trigger batch processing on the currently accumulating group. This will improve overall speed if groups are large/complex, but could cause undesired behavior if input groups are not truly ordered.
Raster Properties
To set the size of the output raster, specify either the dimensions or the cell size.
To set the output raster size using dimensions, set the Size Specification to RowsColumns and specify values for both the Number of Columns and Number of Rows.
To set the output raster size using cell size, set the Size Specification to CellSize and specify values for both the X Cell Spacing and Y Cell Spacing.
Interpretation
Sets the interpretation of the output raster.
Background
Sets the background value of the raster.
If this is set to Yes, the background value will also be flagged as the nodata value for the produced band.
Anti-Aliasing
If the Anti-Aliasing parameter is Yes, the output lines will be smoothed using an anti-aliasing algorithm.
This parameter is the maximum normalized distance from a line segment or polygon vertex to a pixel to be rendered. For example a tolerance of 1.0 will draw all pixels touched by the input vector line, while a tolerance of 0.0 will draw only those pixels where the input vector line passes directly through their center. Tolerance can only be selected when anti-aliasing is off.
Ground Extents
If the Ground Extents parameter is set to Use input data ground extents, which means the extents are not explicitly specified, the output raster extents will be determined by the union of the bounding boxes of the valid input vector features. If the Ground Extents parameter is set to Specify ground extents, the remaining Ground Extents parameters are used to specify the extents of the output raster.
Note: Note: The raster extent is absolute, measured from the outer edges of the border row and column pixels.
This specifies the minimum x value of the output raster. It is used when the Ground Extents parameter is set to Specify ground extents.
This specifies the minimum y value of the output raster. It is used when the Ground Extents parameter is set to Specify ground extents.
This specifies the maximum x value of the output raster. It is used when the Ground Extents parameter is set to Specify ground extents.
This specifies the maximum y value of the output raster. It is used when the Ground Extents parameter is set to Specify ground extents.
Related Transformers
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.
Tags Keywords: MBR "minimum bounding rectangle" pointcloud