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


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.

View original
Did this help you find an answer to your question?

2 replies

Forum|alt.badge.img

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+18
  • Supporter
  • 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings