Hi @jaircasti Isn't there a Z Value parameter on your VertexCreator? Do you have two 3D coordinates or do you have only one coordinate and a slope and bearing to define the 2nd coordinate?
Hi Dan. I have 2 coordinates per line. When I used VertexCreator seems the transformer used the first elevation and the line is horizontal you can see in the screenshot that I have gaps between lines in Z.
@jaircasti Both LineBuilder and VertexCreator preserve the Z value of the point. Which you use will depend on the structure of your data. Perhaps if you could attach a sample dataset the community could point you in the right direction.
@jaircasti Both LineBuilder and VertexCreator preserve the Z value of the point. Which you use will depend on the structure of your data. Perhaps if you could attach a sample dataset the community could point you in the right direction.
Thanks Mark. Please find the sample dataset for the pipes.
@jaircasti Great - thanks for including the data. Your Z values are attributes on the line as attributes - UP_INVERT & DN_INVERT. Because you only have 2 point lines for your pipes the easiest way is to just rebuild the geometry using the VertexCreator:
If you have lines with more than two points it'll be a little trickier.
I've attached an example workspace (FME 2020.2.2)
@jaircasti Great - thanks for including the data. Your Z values are attributes on the line as attributes - UP_INVERT & DN_INVERT. Because you only have 2 point lines for your pipes the easiest way is to just rebuild the geometry using the VertexCreator:
If you have lines with more than two points it'll be a little trickier.
I've attached an example workspace (FME 2020.2.2)
Thanks, Mark. The lines are connected and look good. The workbench makes sense now.
Jairo