Question

Find the intersecting points from 2 different polygon layers

  • 11 November 2016
  • 4 replies
  • 0 views

I have 2 different layers with polygons crossing each other. How can i find the juntions between the crossing lines? I've tried the LineOnLineOverlayer but it result in a collection of ALL the points. Does anyone knows how i can filter this?


4 replies

Badge +16

Have you tried the AreaOnAreaOverlayer?

Sorry, i mean polylines, not polygons.

Userlevel 5
Badge +25

I think this will do the trick.

The trick is to use a TopologyBuilder or Intersector to get the nodes where the lines intersect. But this gets you nodes at every intersection, including the ones within one set of lines, which I assume you're not interested in. So by creating a list in the PointOnLineOverlayer and calculating a histogram on the attribute that holds the "set" value we can figure out which nodes are caused by a line from set 1 intersecting a line in set 2.

Hope this helps.

junctions.fmw

 

Wow, i give it a try, thanks.

Reply