FME Transformers: 2024.2

Categories
Geometries
Related Transformers
AreaBuilder
GeometryCoercer
GeometryValidator
LineBuilder
LineCombiner
LineExtender
Snapper
Snipper

LineCloser

Converts a linear feature to an area by connecting the end point to the start point.

Jump to Configuration

Typical Uses

  • Creating areas from unclosed linear features

How does it work?

The LineCloser receives linear features and connects their end points to their start points, creating closed polygons. An additional vertex is added at the position of the start point.

Z coordinates are supported. Where the first and last points of the input feature have the same x and y coordinates but differing z values, the Connect Z Mode parameter determines how the points are handled.

No checking is performed on the output geometry, and self-intersecting polygons can be created.

Non-linear features are passed through unchanged.

Examples

Usage Notes

  • The AreaBuilder can also close linear geometry into areas, but moves the end vertex rather than adding an additional vertex to close.

  • Use the GeometryValidator to check for self-intersecting geometry after using the LineCloser.

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 has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the LineCloser 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.