Skip to main content
Solved

Newbie trying to Aggregate some lines and points...


I’ve been trying to aggregate some GIS layers with a common attribute and running into all sorts of problems. I’m also new at this! For testing I’ve just been trying to aggregate one line layer (eventually lines and points) and I’m a little confused at my results.

It’s merging only some features together, not all. I need them all merged together that have the same attribute, in this example FeederID. As mentioned eventually I will want lines and points together as one layer all grouped by FeederID.

This is what I'm doing:

This is what I'm getting:

Am I doing some sort of rookie mistake here?

Best answer by jdh

Are you certain your features are ordered by group? If a feature from a different group arrives in between features with the same FeederID, they will not be in aggregated together. Either use a sorter ahead of the aggregator, or set Input is order by Group to No.

I don't see a point in Concatenating the same attribute you are using to GroupBy, all you will end up with is the same value comma separated as many times as you have features in the group.

 

 

Any attributes in the GroupBy will be available on the output feature.
View original
Did this help you find an answer to your question?

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • May 6, 2016

Are you certain your features are ordered by group? If a feature from a different group arrives in between features with the same FeederID, they will not be in aggregated together. Either use a sorter ahead of the aggregator, or set Input is order by Group to No.

I don't see a point in Concatenating the same attribute you are using to GroupBy, all you will end up with is the same value comma separated as many times as you have features in the group.

 

 

Any attributes in the GroupBy will be available on the output feature.

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • May 8, 2016

I also think you will want to keep the input attributes, if you want to merge them all together as well.


  • Author
  • May 10, 2016

Thank you.

I followed both your suggestions (add Sorter first, don't concatenate, kept input) and I got what I was expecting (hoping?).

I wish I could say I won't do anymore rookie mistakes but that would be a bold faced lie.


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