Question

How to put the StartValue of a joined Line into a MeasureGenerator?

  • 23 November 2018
  • 2 replies
  • 2 views

Badge

Hi,

I try to repeat this sample of LRS-Tasks on my data:

Probably a beginner-question:

How can I set/transfer the attribute 'von_km_l' as startvalue in my MeasureGenerator? After the

 

five line segments are joined in one NLE(network linear element), I got the attribute on the treats:

 

As you see, the needed value is avaliable within the trait-attribute. But how to set it

as startvalue in the MeasureGenerator?

Thanks and best regards from Berlin,

Christoph

 


2 replies

Userlevel 2
Badge +17

You can populate the attributes of the original lines into a list attribute by specifying a list name (e.g. "_list") via the List Name parameter in the LineJoiner. Then, set a list element storing your desired value (e.g. "_list{0}.von_km_l") to the Start Value parameter in the MeasureGenerator.

Badge

If you have measure from (von_km) and measure To (bis_km), then may be you can use measure setter

Reply