FME Transformers: 2024.1

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 is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the ModuloCounter on the FME Community.