FME Transformers: 2024.2

Categories
Calculated Values

ModuloCounter

Adds an attribute holding the next integer in a sequence, restarting the count at 0 whenever the sequence reaches the specified maximum value.

Each feature will have a number added to it, in the range from 0 to one less than the maximum.

Example

If you set the Count Maximum to a value of 3, this will set the value of the Count Output Attribute to 0,1,2,0,1,2,0 for the first 7 features that enter the transformer.

Configuration

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.

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 ModuloCounter on the FME Community.