ListConcatenator
Concatenates all the values of a list into a single attribute.
Parameters
Select the attribute that will supply the list containing the values you want to concatenate.
Characters can be expressed as regular characters but they can also include any number of control characters.
Special character sequences (Advanced Editor only) are interpreted as shown below:
Sequence | Description |
---|---|
Ctrl+Shift+h (^H) |
Backspace (0x08) |
Ctrl+Shift+l (^L) |
Form feed (0x0c) |
Ctrl+Shift+j (^J) |
Newline (0x0a) |
Ctrl+Shift+r (^M) |
Carriage return (0x0d) |
Ctrl+Shift+i (^I) |
Tab (0x09) |
Ctrl+Shift+k (^K) |
Vertical tab (0x0b) |
Allows you to specify the attribute that will contain the concatenated list values.
Determines whether to concatenate list elements whose value is empty or null. Missing attributes are never concatenated. To treat missing attributes as empty or null, use an upstream NullAttributeMapper.
By default, all attribute values will be concatenated, whether or not they are empty. If this parameter value is set to Yes, then only non-empty values will be concatenated.
Example
If this feature enters the ListConcatenator:
- somelist{0}.length = 7.3
- somelist{0}.kind = ’paved’
- somelist{1}.length = 8.4
- somelist{1}.kind = ’smooth’
- somelist{1}.lanes = 2
- somelist{2}.length = 1.1
- somelist{2}.kind = ’rough’
and a concatenation of somelist{}.kind with a backslash (\\) separator is requested, then the resulting attribute will contain: paved\smooth\rough.
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, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Related Topics
Using the Intersector and ListConcatenator to Solve Problems
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.