PointCloudOnRasterComponentSetter

Sets point cloud component values by overlaying a point cloud on a raster. The component values for each point are interpolated from band values at the point location.

Jump to Configuration

Typical Uses

  • Applying color to a point cloud

How does it work?

The PointCloudOnRasterComponentSetter receives two sets of input features, PointCloud and Raster, which must be in the same coordinate system and units.

For each point in the point cloud, component values are set by extracting raster band values from the same location in the underlying raster. These values are interpolated if necessary, and a variety of interpolation methods is available. The extracted values are added to the point’s components as specified - either color (color_red, color_green, color_blue) or a Custom set of components, in which you may select any standard point cloud component to receive raster cell values (including color).

Point cloud features are output with new component values set, and rasters are discarded.

This transformer accepts multiple input point clouds and rasters. One point cloud is output for each input point cloud.

If multiple rasters are used, the component value will be taken from the first raster encountered that can provide one, and so the order of input for rasters can affect the results. If a point does not overlap a raster, the next raster will be tried, and so on until a value is obtained.

Rasters must have the same number of selected bands as there are components selected. For color, three bands are required - red, green and blue. A RasterSelector transformer may be used to meet these conditions - for example, an RGBA raster (color with an additional alpha band) would need to have only its first three bands (RGB) selected to be successfully used with the Components to Set - Color option.

This transformer supports raster band selection. The RasterSelector can be used to modify this selection.

Examples

Usage Notes

  • The PointCloudOnRasterComponentSetter may be useful to transfer data values when handling non-point cloud data types as point clouds for processing efficiency.

Choosing a Point Cloud Transformer

FME has a selection of transformers for working specifically with point cloud data.

For information on point cloud geometry and properties, see Point Clouds (IFMEPointCloud).

Configuration

Input Ports

Output Ports

Parameters

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.

Defining Values

There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Dialog Options - Tables

Transformers with table-style parameters have additional tools for populating and manipulating values.

Reference

Processing Behavior

Group-Based

Feature Holding

Yes

Dependencies None
Aliases PointCloudOnRasterValueExtractor
History  

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

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

 

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

Keywords: point "point cloud" cloud PointCloud coerce LiDAR sonar expose extract extents orthophotos PointCloudOnRasterValueExtractor