Skip to main content
Solved

"Bulk" Concatenate Attributes


pkno
Contributor
Forum|alt.badge.img+5
  • Contributor

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. 

 

 

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

2 replies

takashi
Evangelist
  • 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. 

 

 


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