Solved

I have a polyline dataset which contains asset types as attributes. Based on these different asset types I would like to subtract a value from the Z-coordinates so that the lines will be displayed at the correct depth.

  • 25 October 2022
  • 2 replies
  • 3 views

Badge

I was thinking I can use an attribute filter to filter the different asset types and subsequently use a 3Dforcer to lay the different polylines on their correct depth. As an example I used the following parameters in the 3Dforcer for 1 attribute of the field asset type:

 

Elevation: @ZValue()-1

Preserve Z-values: No

 

The result was as follows:

1 polyline features has 3 vertices:

Before translation:

 

1st

vertex Z: 0,6

2nd

vertex Z: 0,8

3th vertex Z: 1,0

 

After translation:

 

1st

vertex Z: -0,2

2nd

vertex Z: -0,2

3th vertex Z: -0,2

 

What I would like to have:

 

1st

vertex Z: -0,4

2nd

vertex Z: -0,2

3th vertex Z: 0

 

This translation provides a constant Z

value based on some average of mutliple vertices. I want it to take into

account each individual Z and then substract the ammount specified.

 

icon

Best answer by dustin 25 October 2022, 14:47

View original

2 replies

Userlevel 3
Badge +26

I think the transformer you need is the Offsetter. This will allow you to offset the z based on the different asset types.

Badge

Thank you that was exactly what I was looking for

Reply