Solved

How to perform AffineWarper in Group By mode?

  • 12 January 2016
  • 5 replies
  • 2 views

Badge

I need to perform AffineWarper in Group By mode. Separate affine control vectors for separate group of objects. Any idea?

icon

Best answer by takashi 12 January 2016, 12:38

View original

5 replies

Userlevel 2
Badge +17

A possible way is to wrap the AffineWarper by a custom transformer and publish the "Parallel Process By" parameter as a transformer parameter. It's not exactly equal to the regular "Group By", but it works like that. Try the steps illustrated in this image.

Badge

Thanks a lot. It works.

After banging my head trying to figure out why this wasn't working, and using feature caching to do my debugging... I saw this handy post, https://knowledge.safe.com/questions/78585/how-to-add-group-by-to-any-transformer.html

 

With this IMPORTANT note:

One caveat I’ve noticed about this hack:
Badge +16

A possible way is to wrap the AffineWarper by a custom transformer and publish the "Parallel Process By" parameter as a transformer parameter. It's not exactly equal to the regular "Group By", but it works like that. Try the steps illustrated in this image.

Good old wrap it in a custom transformer en voila! group by is possible!

Badge +2

After banging my head trying to figure out why this wasn't working, and using feature caching to do my debugging... I saw this handy post, https://knowledge.safe.com/questions/78585/how-to-add-group-by-to-any-transformer.html

 

With this IMPORTANT note:

One caveat I’ve noticed about this hack:

@lanthar Glad you found that note helpful. Good news: We've fixed that bug in the latest 2019.0. You can test it out in the current beta. Available here: https://www.safe.com/support/support-resources/fme-downloads/beta/

Reply