NumericRasterizer

Creates a numeric raster representation of vector or point cloud input features, where cell values are taken from the z coordinates of the input features and overlaid on a uniform background.

Jump to Configuration

Typical Uses

How does it work?

The NumericRasterizer receives point, line, area or point cloud geometries, and “draws” them onto a numeric (single-band) output raster feature.

Input features must have z coordinates. The cell values for the rendered input features are taken from their z coordinates, and the remainder of the raster is filled with a single specified Background Value, which may also be designated as the raster band’s Nodata value.

The size of the output raster may be defined by number of rows and columns, or by specifying the size of a single cell (pixel) in ground units. The geographic extent covered by the raster may be either determined by the input features or manually specified.

A variety of options is available for raster interpretation type. Anti-aliasing may be used to smooth lines.

The input features are discarded.

If vector features (such as polygons) overlap, then the value of the cell in those overlaps comes from the last feature to arrive.

Rendering non-elevation values: 3DForcer

Vector features often represent non-elevation data. To produce a numeric raster representation of those vectors with a NumericRasterizer, the value to be represented needs to be stored in the z coordinate of the source data.

To accomplish this, use the 3DForcer transformer prior to the NumericRasterizer, and assign the desired values to the features’ z coordinates.

Examples

Usage Notes

Choosing a Raster Transformer

FME has an extensive selection of transformers for working with raster data. They can be generally categorized as working with whole rasters, bands, cells or palettes, and those designed for workflow control or combining raster with vector data.

For information on raster geometry and properties, see Rasters (IFMERaster).

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Group-Based

Feature Holding

Yes

Dependencies None
Aliases Rasterizer
History  

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the NumericRasterizer on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.