FME Transformers: 2025.1 BETA

Categories
Cartography and Reports
Geometries
Web

Web

Related Transformers
SherbendGeneralizer
SpikeRemover

Generalizer

Simplifies, smoothes, measures, or fits geometry according to a variety of algorithms.

Jump to Configuration

Typical Uses

  • Simplifying geometry for use at different scales
  • Simplifying geometry to optimize storage or processing time
  • Smoothing jagged lines

How does it work?

The Generalizer receives features with vector geometry and applies a selected algorithm.

There are four types available, and different algorithms may be more suitable for particular purposes or datasets:

  • Generalize: These algorithms simplify features by removing vertices.
    • Douglas and Douglas with Arc Fitting - Remove vertices that deviate little.

    • Thin and Thin No Point - Remove vertices that are close together.

    • Deveau - Remove vertices with less effect on shape.

    • Wang - Remove insignificant bends.

  • Smooth: These algorithms move vertices to produce smoother geometry.

    • McMaster and McMaster Weighted Distance - Move vertices based on their neighbors.
    • NURBfit - Fit smooth curves to the geometry and stroke them.
    • Fillet - Round sharp corners.
  • Measure: This algorithm finds inflection points.
    • Inflection Points - Produce points to measure sinuosity.
  • Fit: This algorithm produces a two-point line based on vertices.
    • Orthogonal Distance Regression - Find an optimal path through vertices.

Areas that have common boundaries may have those shared portions optionally preserved.

Generalizing Algorithms

Smoothing Algorithms

Measuring Algorithm

Fitting Algorithm

Usage Notes

  • To maintain topologies that involve other features while generalizing, consider using the SherbendGeneralizer.
  • The Densifier may be useful in cases where generalization is too aggressive in portions of the data.

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 LineGeneralizer AreaGeneralizer AreaSmoother LineSmoother
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 Generalizer 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.