Many transformers can assess spatial relationships and perform spatial joins - analyzing topology, merging attributes, and sometimes modifying geometry. Generally, choosing the one that is most specific to the task you need to accomplish will provide the optimal performance results. If there is more than one way to do it (which is frequently the case), time spent on performance testing alternate methods may be worthwhile.
To correctly analyze spatial relationships, all features should be in the same coordinate system. The Reprojector may be useful for reprojecting features within the workspace.
|
Transformer |
Can Merge Attributes |
Alters Geometry |
Counts Related Features |
Creates List |
Supported Types* |
Recommended For |
|---|---|---|---|---|---|---|
| SpatialFilter | Yes | No | No | No |
|
|
| SpatialRelator | Yes | No | Yes | Yes |
|
|
| AreaOnAreaOverlayer | Yes | Yes | Yes | Yes |
|
|
| LineOnAreaOverlayer | Yes | Yes | Yes | Yes |
|
|
| LineOnLineOverlayer | Yes | Yes | Yes | Yes |
|
|
| PointOnAreaOverlayer | Yes | No | Yes | Yes |
|
|
| PointOnLineOverlayer | Yes | Yes | Yes | Yes |
|
|
| PointOnPointOverlayer | Yes | No | Yes | Yes |
|
|
| Intersector | Yes | Yes | Yes | Yes |
|
|
| Clipper | Yes | Yes | No | No |
|
|
| NeighborFinder | Yes | In some cases | No | Yes |
|
|
| TopologyBuilder | Yes | Yes | No | Yes |
|
|
* Note that Curve includes Lines, Arcs, and Paths. Area includes Polygons, Donuts, and Ellipses.
Spatial analysis can be processing-intensive, particularly when a large number of features are involved. If you would like to tune the performance of your workspace, this is a good place to start.
When there are multiple ways to configure a workspace to reach the same goal, it is often best to choose the transformer most specifically suited to your task.
If performance is an issue in your workspace, look for alternative methods, guided by geometry.
Many transformers can perform data joining based on matching attributes, expressions and/or geometry. When choosing one for a specific joining task, considerations include the complexity of the join, data format, indexing, conflict handling, and desired results. Some transformers use SQL syntax, and some access external databases directly. They may or may not support list attribute reading and creation.
Generally, choosing the one that is most specific to the task you need to accomplish will provide the optimal performance results. If there is more than one way to do it (which is frequently the case), time spent on performance testing alternate methods may be worthwhile. Performance may vary greatly depending on the existence of key indexes when reading external tables (as opposed to features already in the workspace).
|
Transformer |
Match By |
Uses SQL Statements |
Can Create List |
Input Type |
Notable |
Description |
|---|---|---|---|---|---|---|
| FeatureJoiner | Attributes | No | No | Features |
|
Joins features by combining the attributes and/or geometry of features based on common key attribute values. Performs Left, Inner, and Full joins. |
| FeatureMerger | Attributes | No | Yes | Features |
|
Merges the attributes and/or geometry of one set of features onto another set of features, based on matching key attribute values and expressions. |
| ListBasedFeatureMerger | List Attribute to Single Attribute | No | Yes | Features |
|
Merges the attributes and/or geometry of one set of features onto another set of features, based on matching list attribute values with key attribute values and expressions. |
| InlineQuerier | SQL query | Yes | No | Features |
|
Creates SQLite database tables from incoming features, executes SQL queries against them, and outputs the results as features. |
|
SQL or Cypher query |
Yes |
No |
External DB |
|
Executes queries against a database, either once per translation or once for each initiating feature that enters the transformer. Schema, the initiating features, and the results of the query may be output. |
|
| SQLCreator | SQL query | Yes | No | External DB |
|
Generates FME features and/or schemas from the results of a SQL query executed against a database. One FME feature is created for each row of the results of the SQL query. |
| SQLExecutor | SQL query | Yes | No | External DB |
|
Executes SQL queries against a database once for each initiating feature that enters the transformer. Schema, the initiating features, and the results of the query may be output. |
| DatabaseJoiner | Attributes | No | Yes | External DB and Features |
|
Joins attributes from an external table to features already in a workspace, based on a common key or keys. |
| Matcher | Geometry and/or Attributes | No | Yes | Features |
|
Detects features that are matches of each other. Features are declared to match when they have matching geometry, matching attribute values, or both. A list of attributes which must differ between the features may also be specified. |
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).
|
Sets the cell origin point within cells in a raster. |
|
|
Applies a convolution filter (sometimes called a kernel or lens) to raster features and outputs the results. |
|
|
Enhances the features of a raster image. The RasterDiffuser enhances the borders, lines, and curves while reducing noise in the flat areas of the raster image. |
|
|
Evaluates expressions on each cell in a raster or pair of rasters, including algebraic operations and conditional statements. |
|
|
Replaces the geometry of input raster features with a polygon covering either the extents of a raster or the extent of data within a raster. |
|
|
Extracts Ground Control Point (GCP) coordinate system and point values from a raster feature and exposes them as attributes. |
|
|
Sets Ground Control Points (GCPs) on a raster, pairing cell positions with known coordinates. |
|
|
Georeferences a raster by either known corner coordinates or origin, cell size, and rotation. |
|
|
Generates a grayscale shaded relief representation of terrain, based on elevation values. |
|
|
Alters the interpretation type of rasters, including all bands, and converts cell values if necessary. |
|
|
Merges multiple raster features into a single raster feature. |
|
|
Extracts the geometry properties of a raster feature and exposes them as attributes. |
|
|
Resamples rasters to multiple resolutions, based on either number of levels or dimensions of the smallest output raster. |
|
|
Transforms an image to minimize its difference with another. |
|
|
Resamples rasters, based on specified output dimensions, cell size in ground units, or percentage of original, and interpolates new cell values. |
|
|
Rotates a raster feature according to its rotation angle property, interpolating new cell values, updating all other affected raster properties, and producing an output raster feature with a rotation angle of zero. |
|
|
Clips raster features using pixel bounds instead of ground coordinates, and optionally adds cells around the perimeter. |
|
|
Splits each input raster into a series of tiles by specifying either a tile size in cells/pixels or the number of tiles. |
|
|
Creates polygons from input raster features. One polygon is output for each contiguous area of pixels with the same value in the input raster. |
|
|
Creates a series of image tiles that can be utilized by web mapping applications such as Bing™ Maps, Google Maps™, or Web Map Tile Service. This is done by resampling rasters to various different resolutions and then splitting them into tiles. |
|
Adds a new band to a raster feature. |
|
|
Merges coincidental raster features into a single output raster feature, preserving and appending all bands. |
|
|
Alters the interpretation type of individual raster bands, converting cell values if necessary. |
|
|
Removes all unselected bands from a raster feature. |
|
|
Extracts the minimum and maximum band values, palette keys, and palette values from a raster feature, and adds them to a list attribute. |
|
|
Sets the band name of selected bands on a raster, making raster contents simpler to understand compared to band numbers. |
|
|
Removes the existing Nodata identifier from selected bands of a raster feature. Any values previously equal to the Nodata value are considered valid data. |
|
|
Sets a new Nodata value on selected bands of a raster feature. |
|
|
Specifies the required order of bands in a raster. Bands are reordered according to the input band indices. |
|
|
Extracts the band and palette properties of a raster feature and exposes them as attributes. |
|
|
Removes any selected bands from a raster feature. |
|
|
Separates bands or unique band and palette combinations, and outputs either individual raster features or a single new raster feature containing all combinations. |
|
|
Calculates statistics on raster bands and adds the results as attributes. |
|
Calculates the aspect (direction of slope) for each cell of a raster. Aspect is measured in degrees from 0 to 360, clockwise from north. |
|
|
Creates individual points or polygons for each cell in a raster, optionally extracting band values as z coordinates or attributes. |
|
|
Evaluates basic arithmetic , minimum, maximum or average operations on the cell values of a pair of rasters. |
|
|
Replaces a range of band values in a raster with a new single value. |
|
|
Rounds off raster cell values. |
|
|
Partitions a raster image into arbitrarily sized groups of cells from the input image based on intensity differences in the input raster image cells. |
|
|
Performs basic arithmetic operations on the cell values of a raster against a numeric value. |
|
|
Calculates the slope (maximum rate of change in z) for each cell of a raster. |
|
Creates a palette from an attribute, and adds this palette to all selected bands on a raster. |
|
|
Creates a string representation of an existing palette on a raster and saves it to an attribute. |
|
|
Generates a palette out of the selected band(s) of a raster. The output raster will have the selected band(s) replaced by a new band with a palette. |
|
|
Alters the interpretation type of raster palettes. |
|
|
Identifies the palette key that matches a raster band’s Nodata value, and sets a value on it. |
|
|
Removes selected palette(s) from raster features. |
|
|
Resolves the palette(s) on a raster by replacing cell values with their corresponding palette values. Palette values with multiple components, such as RGB, are broken down and the individual values assigned to multiple, newly-added bands. |
|
Forces accumulated raster operations to be processed, saving the state to disk and releasing resources to tune performance or assist with memory limitations. |
|
|
Reads raster features for testing purposes, including any accumulated raster operations. No additional operations are performed, and nothing is done with the features. |
|
|
Serializes the geometry of a raster feature into a Blob attribute, encoding the contents according to a choice of common binary raster formats. |
|
|
Creates a numeric raster of specified size and resolution, with default cell values. |
|
|
Decodes a binary attribute containing encoded rasters stored as Blobs, replacing the feature’s geometry with the decoded raster. |
|
|
Creates a color raster feature of specified size, resolution, and interpretation type, with default cell values. |
|
|
Selects specific bands and palettes of a raster for subsequent transformer operations. |
|
Creates a raster representation of vector or point cloud input features, using the fme_color attribute over a solid background fill for vector features. Point clouds may be rendered using their color or intensity components. |
|
|
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. |
|
|
Generates a raster from input vector and raster features, with fine control over symbolization and labeling, using the Mapnik toolkit. |
|
|
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. |
|
|
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 feature. |
|
|
Produces a raster digital elevation model (DEM) by uniformly sampling a Delaunay triangulation generated from input points and breaklines. |
|
|
Rasterizes vector or point cloud features onto an existing raster. For vector features the fme_color attribute sets pixel color, and point clouds may be rendered using their color or intensity components. |
asdf