Skip to main content
Solved

I have multiple water pipeline networks (polyline Z) which are all located on their own standard depth, e.g. house connections -0,80 distribution -1,00 transport pipes -1,20. How can I connect the last vertex of each network in Z where they intersect

  • February 1, 2023
  • 2 replies
  • 19 views

Forum|alt.badge.img

I want to connect the pipelines to each other in Z coordinates at the place where there is a mutual vertex intersection.

Best answer by ctredinnick

The key is you can use a VertexCreator to insert a point at a specific index in your line, and this can connect the line endpoint to another location, including in the Z dimension.

You first create nodes along the line you want to connect To, and join their x,y,z coordinates as attributes to the line which you want to connect to each node

Will be something like this: imageThis is only connecting one line type to another, you'll need to control whether you add the vertex to the line startpoint or endpoint if the line directions are not consistent.

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.

2 replies

Forum|alt.badge.img
  • 11 replies
  • February 1, 2023

I'm not sure what your goal is and what your input data looks like, but I think you need the LineCombiner. If the polylines have the same z-value for all vertices you can use the LineCombiner where you combine on the attribute containing the z-value. If needed extract the the z-value with the CoordinateExtractor.


ctredinnick
Supporter
Forum|alt.badge.img+19
  • Supporter
  • 225 replies
  • Best Answer
  • February 2, 2023

The key is you can use a VertexCreator to insert a point at a specific index in your line, and this can connect the line endpoint to another location, including in the Z dimension.

You first create nodes along the line you want to connect To, and join their x,y,z coordinates as attributes to the line which you want to connect to each node

Will be something like this: imageThis is only connecting one line type to another, you'll need to control whether you add the vertex to the line startpoint or endpoint if the line directions are not consistent.