FME Transformers: 2024.2

Categories
Calculated Values
Data Quality
Related Transformers
DonutBridgeBuilder
DonutBuilder
DonutHoleExtractor

HoleCounter

Retrieves the number of holes in donut polygons, storing the result as an attribute.

Jump to Configuration

Typical Uses

  • Making the number of holes accessible as an attribute value

How does it work?

The HoleCounter receives features with donut polygon geometry and retrieves the number of holes (inner boundaries) from the geometry properties of each polygon. The total per donut is stored as an attribute value.

Geometry without holes, including non-donut areas and all other types of geometry, receive a Hole Count value of zero (0).

Examples

Usage Notes

Creating and Modifying Area Features

These transformers work with polygons 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 HoleCounter 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.