Skip to main content
Open

Extend Sampler transformer to sample based on percentage

Related products:Transformers

gabriel_hirsch
Contributor
Forum|alt.badge.img+15

During a FME Advanced training a student asked how he could use the Sampler transformer to get a randomize sample of 10% of the features. As the sampler rate in the transformer doesn't support to be set by an attribute this is a hard task.

So this request is both for:

1. Make the sampler rate to be set by an attribute

2. Support a percentage as sampler rate