FME Transformers: 2024.1

Categories
Geometries
Related Transformers
Intersector
LineBuilder
LineCloser
LineCombiner
Snapper
Snipper
TopologyBuilder

LineExtender

Extends line, arc, or path features at both ends by a specified length.

Jump to Configuration

Typical Uses

  • Preparing geometry for further processing

How does it work?

The LineExtender receives features with line, arc, or path geometry and extends them at both ends by a specified length in ground units.

Extension angle is the same as the orientation of the line segment leading to the extension point (the first or last vertex). Arc geometry extensions are also straight lines, placed tangent to the arc.

Optionally, the angle of a number of segments back from the point of extension can be averaged. If the Segments to Average value is larger than the number of segments available on the feature, the entire feature orientation is averaged. For arc geometry, the segments are produced by default arc stroking which can produce unpredictable angles.

Two-point linear extensions are output individually as Beginning and End.

A Stretched geometry is also produced. If extended from a line segment, the start and end vertices of the input feature are moved to the end position of the extensions. If extended from an arc, the end vertices remain intact.

If the stretched geometry includes an arc or path, it is output as a path.

Output features receive the same attributes as the input feature.

Z coordinates are supported.

Segments to Average

Input

Beginning and End

Stretched

Default (1)

2

Default (1)

18

Usage Notes

  • This transformer may be useful in combination with the Snapper and Intersector to perform simple data cleaning.

Creating and Modifying Linear Features

These transformers work with lines in a variety of ways.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
Aliases  
History  

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the LineExtender on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.