Question

Looping back to Source Data after omitting a record

  • 14 March 2023
  • 1 reply
  • 0 views

Badge

I have got a school's spatial data (point data) with capacity information in the attribute table. I have set up the Transformers to allocate the students to particular schools. But after allocating, I need to go back to the school's data for the next student. But after looping back, the data should show 1 less number in the capacity (because that seat got allocated to the student).

 

I am stuck here on how to go back and start the process again with reduced capacity.

 

Datasets I am using

Schools Feature Service

Master Spreadsheet with Students Data

 

Thank you


1 reply

Userlevel 1
Badge +11

Hi @pkulkarni​ You probably don't need to loop through the source data - FME already translates one feature at a time. Are you using a NeighborFinder? If so then you might have to switch the inputs to the Base and Candidate ports. Please attach here a screenshot or sample data if you can.

Reply