Skip to main content
Solved

How to generate vertical lines with same X, Y but difference in Z for two points?

  • March 14, 2023
  • 5 replies
  • 73 views

Forum|alt.badge.img

I have 2 datasets of points created from the vertex extractor transformer. The 2 points have the same X, Y coordinate but differ in Z. I want to create vertical lines between these 2 points. I think this should be possible using the vertex creator transformer with 2 transformers after each other but can’t get it to work.

Best answer by ebygomm

You can use a LineBuilder to do this, extract the coordinates of the points into attributes if they're not already stored as attributes then use the x and y fields as a group by

image

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.

5 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • Best Answer
  • March 14, 2023

You can use a LineBuilder to do this, extract the coordinates of the points into attributes if they're not already stored as attributes then use the x and y fields as a group by

image


Forum|alt.badge.img
  • Author
  • 17 replies
  • March 15, 2023

Thank you. I can't find the ''Group By Mode'' in this transformer. How can I apply this setting?

 


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • March 15, 2023

Thank you. I can't find the ''Group By Mode'' in this transformer. How can I apply this setting?

 

Unless it has changed on more recent versions, if you tick Group Processing you should see the option

image


Forum|alt.badge.img
  • Author
  • 17 replies
  • March 15, 2023

I don't see the option. For me there is a ''Complete groups'' parameter at that spot.


Forum|alt.badge.img
  • Author
  • 17 replies
  • March 15, 2023

But it works, which is great :) However, it won't process vertical lines at intersections. Do you have an idea why and how I can generate vertical lines at those spots too? Multiple vertices at those intersections may have something to do with it? I included an example in the picture.