Question

Looping a transformer?

  • 19 March 2013
  • 3 replies
  • 8 views

Badge
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!

3 replies

Userlevel 4
Hi,

 

 

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

 

 

David
Badge +14
A short movie here to show you how to put a Looping Transformer together:

 

 

http://youtu.be/fD6jeHZlPc8

 

Badge
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.

Reply