Question

Order Nodes on TopologyBuilder

  • 28 September 2022
  • 3 replies
  • 6 views

Hi,

how can i order the nodes on a line.

I put line segments into the topologybuilder to generate its topology. in the result i got an orderd line (see attachment) but unfortunatly the nodes are not really ordered (see second attachment).

can somebody explain how can i get the right order of the nodes on the lines?

thanks in advance


3 replies

Userlevel 3
Badge +26

It appears your input line might double back on itself (confirmed by seeing if Node1 and Node3 in your inspector are coincident). I would try to fix that using the GeometryValidator, prior to the TopologyBuilder.

Hi,

i think that is not the problem. the line has 8 segments. after topologybuilder i got the right order of every segment. but unfortunatly the nodes are not ordered.

i tried GeometryValidator, but i dont know which parameter should i use?

thanks in advance

Hi,

i found the reason why the order of the node were false.

some segments of the line were not in the same direction as the other ones.

My solution was: combine the segmets to one, then seperate it via chopper and then use the topologybuilder.

maybe there are a other solution, but for me it works.

thank you

Reply