FME Transformers: 2025.0

Categories
Geometries
Spatial Analysis
Related Transformers
CenterPointReplacer
Generalizer

CenterlineReplacer

Replaces area geometry with its centerline or straight skeleton.

Jump to Configuration

Typical Uses

  • Simplifying area geometry

How does it work?

The CenterlineReplacer receives features with area geometry and generates either a centerline or straight skeleton. Donut polygons and aggregates are supported, and polygons must not self-intersect.

Modes

Centerline

Centerlines generally are better for long narrow polygons. The result resembles the shape of the input feature, and is approximately equidistant to the boundaries on either side.

Straight Skeleton

The area boundary’s edges are moved inwards, parallel to themselves. When they collide, the polygon is split, and the process continues. The paths traced by the vertices where edges meet are the skeleton.

Note that generating straight skeletons on complex polygons can require long processing times.

Examples

Usage Notes

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 CentrelineReplacer
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 CenterlineReplacer 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.