Skip to main content
Solved

How to perform AffineWarper in Group By mode?


arekpierchala
Contributor
Forum|alt.badge.img+1

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

Best answer by takashi

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.

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

5 replies

takashi
Influencer
  • Best Answer
  • January 12, 2016

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.


arekpierchala
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • January 12, 2016

Thanks a lot. It works.


Forum|alt.badge.img+1
  • January 3, 2019

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:

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • January 3, 2019
takashi wrote:

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!


xiaomengatsafe
Safer
Forum|alt.badge.img+3
lanthar wrote:

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


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