RasterMosaicker
Mosaics multiple raster features into a single raster feature.
变换器接受许多输入栅格功能,每个输入栅格功能都有一个或多个频段。所有栅格功能都具有相同数量的选定频段,反过来又具有相同数量的选定调色板。每个输入栅格功能的每个选定频段都将被删除,镶嵌在一起,然后附加到单个输出栅格功能。结果,输出栅格功能也将具有相同数量的选择频带和调色板。
什么时候there are gaps in data (that is, an area is not covered by any raster), the empty cells will be filled with nodata values if available, or zero if not.
输入功能
- 此变形器仅接受栅格功能。
- 什么时候there are no selected palettes or合并调色板isNo, each band in a set must have the same band interpretation and nodata value.
- 什么时候there are selected palettes and合并调色板is是的, each band must have one selected palette, and all palettes must have the same value interpretation.
Output Ports
The output feature created by mosaicking the input features.
Parameters
Transformer
The rasters may be organized into groups with theGroup Byparameter, with each group of rasters having its own output raster.
Note:How parallel processing works with FME: seeAbout Parallel Processingfor detailed information.
This parameter determines whether or not the transformer should perform the work across parallel processes. If it is enabled, a process will be launched for each group specified by theGroup By范围。
Parallel Processing Levels
For example, on a quad-core machine, minimal parallelism will result in two simultaneous FME processes. Extreme parallelism on an 8-core machine would result in 16 simultaneous processes.
You can experiment with this feature and view the information in the Windows Task Manager and the Workbench Log window.
No:这是默认行为。只有在存在所有输入时,处理将在此变换器中发生。
按组:此变压器将按顺序处理输入组。改变价值Group Byparameter on the input stream will trigger batch processing on the currently accumulating group. This will improve overall speed if groups are large/complex, but could cause undesired behavior if input groups are not truly ordered.
Alignment
The捕捉类型is used if the rasters are not perfectly aligned. The first input feature defines the reference grid. The following rasters can be Resampled to this grid. For better performance, they can also be Offset to match the grid.
If the input rasters do not line up correctly or if they have different spacings, this transformer will use the selectedInterpolation Typeto snap and/or resample the input rasters.Nearest Neighboris the fastest but produces the poorest image quality.双方is the slowest but produces the best image quality.双线性provides a reasonable intermediate option.Average 4andAverage 16have a performance similar to双线性and are useful for numeric rasters such as DEMs.
数据值
This option specifies how output cell values will be calculated when multiple rasters overlap.
- 最后的:最后一个值。也就是说,重叠单元格的最后一个栅格将设置该单元格的值。请注意,这意味着输入功能的顺序可能很重要。你可以使用一个Sorter变形金刚强制执行要处理功能的顺序。
- 最低: The minimum value.
- 最大: The maximum value.
- Average: The average of all values.
- Sum: The sum of all values.
- 复合使用Alpha乐队:将基于alpha频段混合值。如果选择了此选项,则所有输入栅格必须恰好一个alpha频带,并且来自这些alpha频带的值将用于混合在重叠发生的区域中的所有其他频段值,有效地实现透明度。alpha值0表示完全透明度,并且1表示完全不透明度的alpha值。
Note that theAverage,Sum, and复合使用Alpha乐队选项与调色板不兼容。
什么时候all values for a cell are nodata, the output value will be nodata.
什么时候Overlapping Values设定为最后的, this option specifies whether nodata values should overwrite data values in rasters that have been previously drawn. If set to是的, any nodata overlapping real data values will overwrite the real data values. If set toNo,Nodata重叠的实际数据将被忽略,并且将保留实际数据值。
请注意,数据值将始终覆盖Nodata和数据值。
调色板
此参数指定在现有时将如何处理调色板。
什么时候set to是的在每个输入,选择调色板组乐队merged to create a single palette for the output band. When set toNo在每个输入,选择调色板组乐队accumulated on the output band without modification.
属性
IfAccumulate Attributes设定为是的, then the attributes from the original features will be merged onto the output raster features.
If aCount Attributeis given, then an attribute with this name will be added to each output feature, containing the number of features that were combined to create the raster feature.
使用说明
This transformer supports raster band and palette selection. TheRasterSelector可用于修改选择。
Example
编辑变换器参数
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, clickbeside the applicable parameter. For more information, see变压器参数菜单选项.
Transformer Categories
FME Licensing Level
FME Professional edition and above
搜索FME知识中心
搜索有关此变压器的样本和信息FME Knowledge Center.