LineBuilder
Connects input point features in the order they enter, forming linear or polygonal features.
The output features will contain a merged set of attributes from all the features that were connected together, where the value for an attribute in the resulting feature comes from the first feature that had an attribute with that name that was part of the resulting feature.
For some datasets, it may be necessary to use a Sorter to order the data correctly before it enters this transformer.
Input Ports
Output Ports
If the resulting feature is a single point, it will be output through this port.
If the resulting feature does not begin and end at the same point, it is output through this port.
If the resulting feature forms a ring (begins and ends at the same point), it is output through this port.
Any features that are not points or lines are output through this port.
Parameters
The feature being created is output whenever one of the Connection Break Attributes' values changes.
When this happens, the feature with the differing attribute is not added to the current output feature; instead, it begins the next feature to be output.
If only one point feature was received with a given value for the connection break attribute, it will be output as a Point.
If the feature output forms a ring (begins and ends at the same point), it is output as a Polygon.
Anything else is output as a Line.
If the optional List Name is supplied, a list is made of all the attributes of each point that was connected when creating the output feature. This allows later inspection of member point attributes.
Note: List attributes are not accessible from the output schema in Workbench unless they are first processed using a transformer that operates on them, such as ListExploder or ListConcatenator. All list attribute transformers are displayed in the Contents pane of the Transformer Help under Lists. Alternatively, AttributeExposer can be used.
Example
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
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: "point joiner" "line creator" PointConnector