Skip to main content
Solved

combine list in one feature


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.

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

4 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • 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
  • June 8, 2018

@erik

Thanks


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • June 12, 2018
erik_jan wrote:

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+18
  • Contributor
  • June 12, 2018
boubcher wrote:
@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

 

 


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