Skip to main content
Solved

Concatenate parts of lists


deanhowell
Influencer
Forum|alt.badge.img+23

I have run some stats on a dataset where features fall into a specific polygon and have the count and the category.

image 

I now need a list that I can bring together in a single concatenated value that is {count1, cat1, count2, cat2, count3, cat3}

 

The problem is that the number of the categories varies from polygon to polygon.

 

The approach so far is statistics calculator => list builder => list concatenator (using category) => list concatenator (using count) which gives me two lists, comma separated but need to being them together.

 

imagewith the result

imageDoes anyone have any suggestions on how to bring together?

 

Best answer by geomancer

My thoughts exactly.

Severity

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

4 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • May 3, 2022

Is there a reason you can't join the severity and the count prior to building the list?


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • Best Answer
  • May 3, 2022

My thoughts exactly.

Severity


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • May 3, 2022

Thanks for helping me to open my eyes​


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • May 4, 2022

Just an update as the solution worked as expected but just wanted to share a couple of changes. I had to add a ListDuplicateRemover to ensure the entries were unique. I also needed to add a FeatureMerger as I had lots of stats to merge together. Thanks @geomancer​ amd @ebygomm​ as sometimes you can't see the obvious.

 

image


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