Skip to main content
Solved

Set Sampling Amount parameter from an incoming attribute?

  • Jul 31, 2015 4:33 PM UTC
  • 2 replies
  • 58 views

jwe
Contributor
Forum|alt.badge.img+1
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.
View original
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+22
  • Safer
  • Best Answer
  • Jul 31, 2015 7:06 PM UTC
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
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • Aug 4, 2015 2:01 PM UTC
Thanks for the quick reply. Looks like I'll probably stick with changing up my process… it will be better in the long run. ?