FME Transformers: 2025.1 BETA

Categories
Cartography and Reports
Geometries
Related Transformers
Generalizer

SherbendGeneralizer

Simplifies geometry while preserving spatial relationships and applying spatial constraints.

Jump to Configuration

Typical Uses

  • Preparing geometry for different scales
  • Generalizing while preserving spatial relationships between features

How does it work?

The SherbendGeneralizer receives features with vector geometry and applies the Sherbend generalizing algorithm to them. Incorporating the Wang-Müller algorithm with added spatial constraints, it removes and adjusts vertices to simplify features without losing the spatial relationships between feature geometries.

Bends are iteratively evaluated against a reference circle of a specified Diameter. For each bend, a value is calculated - 75% of the area of a circle with circumference equal to the bend’s perimeter. If this value is less than the area of the reference circle and any selected spatial constraints are met, the bend is generalized. Any conflicts are resolved, and the process is repeated until no further generalization is possible.

The larger the Diameter, the more likely it is that bends will be generalized.

Where lines are closed, the endpoints may be either kept stationary (preserving juncture connectivity if necessary) or considered for generalization.

Spatial Constraints

Spatial constraints can be applied or not. When they are applied, conflicts with the constraint are output separately via the Conflicts output port. Note the conflicting geometry reflects the final generalized output.

Self Intersection

Self Intersection prevents a line from intersecting with itself, with the assumption that input lines do not self-intersect.

Input

Generalized without constraint

Conflict

Generalized with constraint

Line-Line Intersection

Line-Line Intersection prevents a line from intersecting another line, with the assumption that input lines do not intersect each other.

Input

Generalized without constraint

Conflict

Generalized with constraint

Sidedness

Sidedness maintains the relative positioning of all lines and points.

Input

Generalized without constraint

Conflict

Generalized with constraint

Usage Notes

  • Results may be improved by using TopologyBuilder, GeometryValidator, or Intersector transformers prior to the SherbendGeneralizer.
  • To generalize individual features with no constraints, use the Generalizer.
  • The Generalizer’s generalizing algorithms may be useful before or after the SherbendGeneralizer to further reduce vertex density.
  • The SherbendGeneralizer does not accept area geometry. A GeometryCoercer or TopologyBuilder may be useful for pre-processing features.
  • Constraint checking is a highly time-intensive operation. Use constraints only as necessary.

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

Group-Based

Feature Holding

Yes

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 SherbendGeneralizer 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.