Skip to main content
Solved

Feature Merger not merging duplicate suppliers

  • November 27, 2018
  • 2 replies
  • 205 views

magm
Contributor
Forum|alt.badge.img+2
  • Contributor

What am I missing here?

I'm using FME 20180926 - build 18552 if that matters.

I want to merge two data streams in the Feature Merger and I know that there are duplicate suppliers so I've marked the "Process duplicate suppliers" option. Still the complete merged data isn't output on the "Merged" port as it should be. Here's an example script.

Here's my example data:

Here's a screenshot of the script after I've run it once:

Here's a screenshot of the transformer settings:

What exactly am I missing here? I've tried both with my regular data that I want to handle and this example data and I just can't get it to work as I expect. As far as I can tell none of the settings under "Process duplicate suppliers" matter when you're only using data and no geometry.

Best answer by ebygomm

If you want 12 features output, the easiest way is to swap the requestor to be the supplier and vice versa.

If there is a specific reason you would prefer to send in the dates as suppliers, then you need to generate a list in the featuremerger and then explode it if your end goal is 12 features.

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • November 27, 2018

If you want 12 features output, the easiest way is to swap the requestor to be the supplier and vice versa.

If there is a specific reason you would prefer to send in the dates as suppliers, then you need to generate a list in the featuremerger and then explode it if your end goal is 12 features.


magm
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • November 27, 2018

Thanks for your reply.

Yes swapping requestor and supplier is the obvious solution, but sometimes you can have multiple supplier hits in both streams so I wanted to know how to do this.

Yes, the List Exploder option seems to work perfectly. Thank you. :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings