Skip to main content
Solved

Finding lines in a network that overlaps

  • November 23, 2016
  • 1 reply
  • 267 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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.