Skip to main content
Solved

Loop?


nath
Contributor
Forum|alt.badge.img+6
  • Contributor

Hello,

I need to make a model but I honestly don't really know how to start it. I will try to explain.

I need to create groups of “municipalities” whose data should be published together. I already have a list of which municipalities is intertwined with which municipality based on geometric overrides but the same municipalities may be intertwined with another municipality, which in turn may also be intertwined with another etc....

Eg Municipality 1 should be charged together with municipality 3 and municipality 4. I have this list, but then I also have to search in the same list if municipality 3 should also be charged with other municipalities, in this case yes, together with municipality 6 and municipality 7. Then I have to do the same for borough 4 and borough 6 and borough 7 and so on until I have everything and can then make it 1 group.

 

Is this clear? Can somebody help me with this model or give me a tip how to start it. 

I attach a sample of my starting table “Samen publiceren”

I already took out all the duplicates myself and put the codes in columns in the csv and counted how many times each code appears in the table, i.e. how many connections there are.

But how do I connect everything together and make groups?

Thank you already in advance

Nathalie

 

Best answer by takashi

Hi ​@nath ,

If I understand your requirement correctly, ListCombiner from FME Hub might help you. Try it out.

Other than that, there could also be a geometrical solution if the relationships between zvg and probleem_zvg would be determined based on spatial relations between their geometries.

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

2 replies

takashi
Evangelist
  • Best Answer
  • June 20, 2025

Hi ​@nath ,

If I understand your requirement correctly, ListCombiner from FME Hub might help you. Try it out.

Other than that, there could also be a geometrical solution if the relationships between zvg and probleem_zvg would be determined based on spatial relations between their geometries.


nath
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • June 23, 2025

Thx! You made my day/week. 

I have what i needed now

Grateful regards

 

 


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