Question

How to detect lines that intersect without nodes/junctions between one or the two of them?

  • 1 June 2022
  • 1 reply
  • 10 views

Badge +7

Let's say I have two Line L1 and L2 that intersect on point A.

Line A has node on point A but Line B does not.


1 reply

Userlevel 2
Badge +11

Hi @arthy​ I don't understand your scenario exactly, but I think you would need to check for intersection between the lines with a SpatialFilter or SpatialRelator, then extract the endpoints (nodes) with a Snipper - or get all vertices using a Chopper, and then compare those points with the other line using a 2nd SpatialFilter.

Reply