Skip to main content

Hello guys we have a GDB with multiple layers, we need to generate sample data for each layer but with different rates for each layer, the problem I have is the sampler transformer will take only user parameter value not an attribute value

how could we set the rate based on the attribute value ??

Thanks

Hi @boubcher​ 

 

Did you try to extract your GDB using the transformer FeatureReader?

 

There is a configuration into this transformer Max Features to Read - and you can use a attribute value.

 

FeatureReader 

Thanks in Advance,

Danilo


Hi @boubcher​ 

 

Did you try to extract your GDB using the transformer FeatureReader?

 

There is a configuration into this transformer Max Features to Read - and you can use a attribute value.

 

FeatureReader 

Thanks in Advance,

Danilo

@danilo_fme​  thanks for your response

we can read the GDB, this is not the problem, what we are looking for is to generate a random sample of the data.

the sample rate depends on the feature type name and total features of each features type

the only option there is to use parameters, we do have 50 layers and we don't know the sample size in advance it's calculated based on the total feature by features type

Thanks

Sample Rate


Have a look at this thread. I believe it may be of some help.

 

Sampling rate from attribute value (safe.com)


Have a look at this thread. I believe it may be of some help.

 

Sampling rate from attribute value (safe.com)

@dustin​ 

Thanks so much for the info, its working

 


Reply