Skip to main content
Question

Looping a transformer?

  • Mar 19, 2013 4:19 PM UTC
  • 3 replies
  • 76 views

Forum|alt.badge.img
Hi I have a custom transformer F(a,b) I wish to 'chain' or loop an unknown number of times. (Its a customized raster overlay basically putting b on top of a) Β  ExampleΒ  For six inputs features (images): 1,2,3,4,5,6 the followin should be done: result = 1 result = F(result,2) result = F(result,3) result = F(result,4) result = F(result,5) result = F(result,6) Β  bangs head in wall :p How can this be achived?Β  Β  best regards!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

david_r
Celebrity
  • Mar 19, 2013 4:26 PM UTC
Hi,

Β 

Β 

have you readΒ this articleΒ on looping with a custom transformer?

Β 

Β 

David

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • Mar 20, 2013 8:53 AM UTC
A short movie here to show you how to put a Looping Transformer together:

Β 

Β 

http://youtu.be/fD6jeHZlPc8

Β 


Forum|alt.badge.img
  • Author
  • Mar 21, 2013 2:32 PM UTC
Hi guys, thanks.

Β 

Seems I have to find another way though, looping is only supported for transformers working on a single incoming feature

Β 

That means a transformer F(a,b) cant be looped.