FME Transformers: 2024.2

Categories
Point Clouds
Rasters
Related Transformers
PointCloudComponentAdder
PointCloudComponentCopier
PointCloudExpressionEvaluator
PointOnRasterValueExtractor
RasterSelector

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

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 PointCloudOnRasterValueExtractor
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 PointCloudOnRasterComponentSetter 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.

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