FME Transformers: 2024.2

Categories
Rasters
Spatial Analysis
Related Transformers
PointCloudOnRasterComponentSetter
PointOnAreaOverlayer
RasterCellCoercer
RasterToPolygonCoercer
VectorOnRasterOverlayer

PointOnRasterValueExtractor

Extracts the band and palette values from a raster at the location of one or more input points and sets them as attributes on the point feature.

Jump to Configuration

Typical Uses

  • Extracting elevations from a DEM and assigning them to point features
  • Extracting values from a numeric raster and assigning them to point features
  • Extracting color information from a raster and assigning it to point features

How does it work?

The PointOnRasterValueExtractor receives two sets of input features, Raster and Point, which must be in the same coordinate system. Only one raster is used (or one per group, if Group Processing is enabled). Any extra raster features received are output via the <Rejected> port.

At each point’s position, values are interpolated for the corresponding point on the raster for each band and/or palette. A variety of interpolation methods are available. The interpolated values are added to a new list attribute, named _band{}.value and _band{}.palette{}.value, respectively.

Point features are output with the new list attribute, and rasters are discarded.

No attributes will be set for points outside the raster extents.

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

Examples

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 PointOnRasterOverlayer
History This transformer was previously named PointOnRasterOverlayer.

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 PointOnRasterValueExtractor 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.