Creates two-point extensions to linear features that extend the feature by a user-specified length.
This transformer can also output the original feature with the first and last segments stretched by a user-specified amount. Each of the created features gets a copy of all attributes of the original feature, including the feature type. Arcs that are input are converted to lines before processing.
The extension length parameter is measured in ground units. You can enter a number, or the value can be taken from an existing feature attribute (select the attribute name from the pull-down list).
This parameter specifies the number of segments that should be considered when computing the orientation angle for the extension feature. By default, this is set to 1, which means the orientation of the extension feature matches the orientation of just one segment in the original feature. It can be set to any number of segments, in which case the orientation will be set to the average orientation of those segments. If the number of segments is larger than the number of segments available on the feature, then the entire feature orientation is averaged and used.
You can enter a number, or the value can be taken from an existing feature attribute (select the attribute name from the pull-down list).
If the Geometry Handling parameter (under Advanced Workspace Settings) is set to Enhanced in the workspace, arcs are extended as arcs instead of being stroked. The two point line segments are output normally, but the stretched version is converted to a path with three segments: the start line, the arc itself, and the end line.
About Transformer Parameter Options
This transformer can be used in combination with the Snapper to perform a simple form of data cleaning.
FME Professional edition and above
Search for samples and information about this transformer on FMEpedia.