Skip to main content
Solved

Finding lines in a network that overlaps

  • November 23, 2016
  • 1 reply
  • 229 views

Hi!

I am new to FME. I have a set of network data where the network is made of many segments of lines. The lines are connected end to end or branching out from one common point. I am trying to find possible overlap between 2 segments like this. I have a feeling LineOnLineOverlayer would work but no matter how I am trying it, the _overlap value remains 1 for all the output. I just need to identify the segments that actually overlap.

Can anyone please help? Thanks!

Best answer by gio

You are looking for lines with collinear parts?

LineOnLineOverlayer is correct.

You need to test for overlaps >1 But only if they have a collinear part.

if overlaps = 1they do not have collinear parts (

test it with 2 creators, for example create lines 0,0;4,4 and 2,2;5,5 the use LOLO.

)

Are you sure they do have collinear parts at all? Maybe some lines are very close to each other and are parallel? Then use a bufferer and a LineOnAreaOverlayer.

View original
Did this help you find an answer to your question?

1 reply

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • November 23, 2016

You are looking for lines with collinear parts?

LineOnLineOverlayer is correct.

You need to test for overlaps >1 But only if they have a collinear part.

if overlaps = 1they do not have collinear parts (

test it with 2 creators, for example create lines 0,0;4,4 and 2,2;5,5 the use LOLO.

)

Are you sure they do have collinear parts at all? Maybe some lines are very close to each other and are parallel? Then use a bufferer and a LineOnAreaOverlayer.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings