Skip to main content
Question

Create a new vertex at line intersection with Z value 1 meter lower than existing line vertices

  • April 2, 2026
  • 2 replies
  • 35 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

I have line features . When two lines really intersect, I would like to create a new vertex at the intersection point .

My requirement is:

  • if two lines intersect, create a vertex on the lines at the intersection location if it does not exist
  • the new vertex should get a Z value that is 1 meter lower than the other existing vertices of the line

For example, if the line vertices have Z = 145, then the new intersection vertex should have Z = 144.

Currently I am using Insector, and to filter out the nodes that share a node between consecutive lines, I cobination of coordinate extractor and FeatureJoiner. Afterwards, I extract all coordinates of the lines and join them again with the remaining points from Insector to identify the real intersecting points, as well as the intersecting points that do not exist as vertices on the line.

Then I gave new z values to this vertex candidate but how can i insert them onto line while preservin their z values which is different than rest of the line

 

2 replies

geomancer
Evangelist
Forum|alt.badge.img+63
  • Evangelist
  • April 3, 2026

Take a look at the VertexCreator. This transformer can also be used to move a vertex.

 


jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • April 3, 2026

@geomancer I know the transformer. But i dont know how i should integrate into the workflow. I dont know what the index should be etc.