Skip to main content
Solved

"Bulk" Concatenate Attributes

  • June 23, 2025
  • 2 replies
  • 66 views

pkno
Contributor
Forum|alt.badge.img+5

Hello,

I am trying to string together attributes. The difficulty is that the attribute names can vary by dataset.

Generally what i am trying to do is that may look something like this:

DEPTH [m] Measurement 1 Measurement 2 Measurement 3 Measurement 4
0.5 <NULL> 1 4.5 2.1
1 <NULL> 2 2.3 2.2
1.5 3.5 1 1 2.1
2 3.0 1 4.5 <NULL>

 

What I am trying to accomplish is something like this

 

DEPTH [m] Measurement1 DEPTH [m] Measurement2 DEPTH [m] Measurement3 DEPTH [m] Measurement4
<NULL> 0.5 1 0.5 4.5 0.5 2.1
<NULL> 1 2 1 2.3 1 2.2
1.5 3.5 1.5 1 1.5 1 1.5 2.1
2 3.0 2 1 2 4.5 <NULL>

 

Depth and measurement values can be tabstop, space ore comma-seperated, doesnt really matter. In a later step I want to route all Measurements into different features using the AttributeExploder and Aggregator while still keeping the depth information. 

I realise this could be easily done using the AttributeManager but this would require manually changing  the workspace anytime a new dataset is being processed, as the names for Measurement[1-4] may change with each dataset. The DEPTH column is not variable though, so there should be some way to do this? Maybe someone has some insight how I could tackle this problem?

Thanks in advance.

Best answer by pkno

Hi ​@takashi ,

the names are completely unpredictable. That said, i came up with a solution which works well enough for me. 

 

 

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.

2 replies

takashi
Celebrity
  • June 24, 2025

Hi ​@pkno ,

Are the names of attributes storing measurement values completely unpredictable? Or, is there some naming convention - e.g. the attribute names have always suffix 1-4?

Is the number of measurement attributes always four? Or, could the number also be vary?


pkno
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • Best Answer
  • June 24, 2025

Hi ​@takashi ,

the names are completely unpredictable. That said, i came up with a solution which works well enough for me.