AttributeRangeMapper
在基于范围的查找表上执行查找,并存储生成的值,或将值写入新的输出属性。此变形器允许您使用输入属性来按数字范围对功能进行分类。
输入端口
包含要过滤的属性的功能类型。
输出端口
All features are output through this port, with the classification of the Source Attribute stored in the Output Attribute.
参数
注意:您创建的范围是包含的,并且它们在表格上出现的顺序。该范围以列表中的第一个开始测试,并在列出的最后一个范围内进行。例如,假设一个范围为10至20,下一个范围为20至30.数字20可以属于两个范围,因为每个范围是包括的,但是该数量将仅与第一范围匹配。
输入属性值是其值与范围查找表中的值匹配的属性。
可用输入属性列表是暴露于此变压器的属性,这取决于连接到它的变压器。
This is the attribute you want to classify. Open the list and select the input attribute you want to use for classifying ranges.
这是作为分类结果创建的新属性的名称。
This table specifies a set a ranges and the value that will be assigned to the Output Attribute if the Source Attribute value matches that range.
The table contains the following elements:
- From: Specify the start value for the range that you are classifying. This field accepts numerical input only and must be less than the value in the To field.
如果未指定从值,则指定开放式范围。 - To: Specify the end value for the range that you are classifying. This field accepts numerical input only and must be greater than the value in the From field.
If a To value is not specified, an open-ended range is specified. - 输出值:输入要提供此值范围的名称。
- 默认值:如果属性的值与表中设置的任何输入范围不匹配,则分配的输出类由默认值指定。
如何快速生成范围表值
当您知道范围中的总值数时,并且您知道所需的分组数量,这是生成范围表值的快速方法。单击参数对话框中的生成按钮。
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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options。
Transformer Categories
Related Transformers
搜索FME知识中心
搜索有关此变压器的样本和信息FME知识中心。
标签关键词:lut查找查找范围rangemapper