Question

FeatureMerger with conditional parameters

  • 28 January 2015
  • 3 replies
  • 2 views

Badge
I would like to know if it is possible use conditional value for the requestor and supplier in a FeatureMerger in order to achieve something like this:

 

 

IF Requestor's Attribute_A = 'some_value'

 

    JOIN Requestor's Attribute_A WITH Supplier's Attribute_A

 

ELSE

 

    JOIN Requestor's Attribute_B WITH Supplier'S Attribute_B

 

 

I have made many tryes, but it seems we cannot change the Supplier join attribute in function of the Requestor's attribute value.

3 replies

Badge +3
The conditional relating is just a preselector of data to be related form suplier as wel as requestor based on a chosen attribute.

 

Attribute cannot be changed conditionally, only its value chosen.

 

 

 

 
Userlevel 2
Badge +17
Hi Burton,

 

 

How about simply using two FeatureMergers? i.e. one for features that have "some_vaue" as Attribute_A, another for others.

 

You can branch the flow of requestor features into two streams by the Tester.

 

 

Takashi
Badge
Ok thank you, actually I was asking that question to use one featureMerger instead of two. But anyway I dont think there would be a gain in speed...

Reply