Performs a lookup on a range-based lookup table, and routes the feature to the appropriate output port. If the input attribute does not match any of the given ranges, the feature is routed to the <Unfiltered> port.
The feature type that contains the attributes you want to filter.
If the feature’s attribute has a value that does not match any of the given ranges, or the attribute is not present, the feature is output via the <Unfiltered> port.
When you connect the transformer to the feature type, the list of attributes will appear in a pull-down list. Choose the attribute from the list.
This table specifies a set a ranges and the port that a feature will be sent to if the Source Attribute value is within that range.
To automatically generate a set of ranges:
It’s important to note that the ranges you create are inclusive and that the order in which they appear on the table matters. For example, suppose one range is from 10 to 20 and the next range is from 20 to 30. The number 20 can belong to both ranges because each range is inclusive, but the number will only be matched to the first range.
Each range has a From value and a To value. These values are inclusive, and each feature will be matched to the first range (in the order present in the table) that contains the value of that feature's Source Attribute. If either From or To is omitted, the range is open-ended; that is, it will match any value greater than (for From) or less than (for To) what is specified.
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, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Function Used: @Lookup
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: LUT lookup look-up RangeFilter