Skip to main content
Solved

Set Sampling Amount parameter from an incoming attribute?

  • July 31, 2015
  • 2 replies
  • 19 views

jwe
Participant
Forum|alt.badge.img
Hello, ?is it possible to set the "Sampling Amount" parameter of the transformer "Sampler" from an incoming attribute? I understand this value could theoretically change per row of data, but it would simplify our process greatly.

 

Thanks!

 

Using FME 2015.1

Best answer by fmelizard

Hi,

 

Dont think its possible, check the docs to be sure....

 

In that case I would:

 

Add a counter (start with 1) and a tester to test the _count value againts the attribute value.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • July 31, 2015
Hi,

 

Dont think its possible, check the docs to be sure....

 

In that case I would:

 

Add a counter (start with 1) and a tester to test the _count value againts the attribute value.

jwe
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 4, 2015
Thanks for the quick reply. Looks like I'll probably stick with changing up my process… it will be better in the long run. ?