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

  • 1 February 2023
  • 2 replies
  • 2 views

Badge

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

icon

Best answer by ctredinnick 2 February 2023, 08:14

View original

2 replies

Badge

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.

Userlevel 3
Badge +16

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