Skip to main content
Solved

combine list in one feature

  • June 8, 2018
  • 4 replies
  • 147 views

boubcher
Contributor
Forum|alt.badge.img+11

How can I combine a list of the same feature into the same one

From this

Ply_idLoc_nameLayer_idSpatial_relation1MTL1510OVERLAPS1MTL1511OVERLAPS1MTL1512WITHIN

 

to this

Ply_idLoc_nameLayer_idSpatial_relationMsg1MTL1510 OVERLAPS, 1511 OVERLAPS, 1512 WITHIN

Thanks

Best answer by erik_jan

First use the StringConcatenator to create Msg for each line.

Then use the Aggregator (group on Ply_id and Loc_name) to create 1 feature.

Use "Attributes to Concatenate" to create one comma separated message.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • June 8, 2018

First use the StringConcatenator to create Msg for each line.

Then use the Aggregator (group on Ply_id and Loc_name) to create 1 feature.

Use "Attributes to Concatenate" to create one comma separated message.


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 212 replies
  • June 8, 2018

@erik

Thanks


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 212 replies
  • June 12, 2018

First use the StringConcatenator to create Msg for each line.

Then use the Aggregator (group on Ply_id and Loc_name) to create 1 feature.

Use "Attributes to Concatenate" to create one comma separated message.

@erik_jan

 

 

why I am not getting the geometry value when I use geometry extractor after the aggregator transformer

 


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • June 12, 2018
@erik_jan

 

 

why I am not getting the geometry value when I use geometry extractor after the aggregator transformer

 

What aggregation mode are you using in the Aggregator?

 

See: Aggregator documentation