Skip to main content
Solved

LineOnLineOverlayer thinks the lines are not coincidental but they are.

  • March 28, 2018
  • 4 replies
  • 24 views

tnarladni
Enthusiast
Forum|alt.badge.img+23

I have two line datasets. Dataset A was created by using the snipper on dataset B (attributes BeginMeasure and EndMeasure), resulting in 15 segments in dataset A. They are both saved in SDE. Now I want to use the LineOnLineOverlayer to segment dataset B (only 1 segment before segmentation). I would expect that there will be 15 segments with _overlap = 2, and attributes from dataset A at each segment. Except that is not what is happening. There are only 10 segments with _overlap = 2, the rest are 1, which indicates that the two datasets do not overlap completely which is weird since A was created by B. I'm attaching the ffs for each dataset as well as the result ffs. What is going on and how do I fix?

Best answer by erik_jan

It seems like the coordinates of the smaller parts have been rounded and therefor are not exactly on the original line.

If you are using FME 2018, you can set the tolerance on the LineOnLineOverlayer to Automatic, which will take care of that issue.

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • March 28, 2018

It seems like the coordinates of the smaller parts have been rounded and therefor are not exactly on the original line.

If you are using FME 2018, you can set the tolerance on the LineOnLineOverlayer to Automatic, which will take care of that issue.


tnarladni
Enthusiast
Forum|alt.badge.img+23
  • Author
  • Enthusiast
  • 88 replies
  • March 28, 2018

It seems like the coordinates of the smaller parts have been rounded and therefor are not exactly on the original line.

If you are using FME 2018, you can set the tolerance on the LineOnLineOverlayer to Automatic, which will take care of that issue.

ah. I will have to immediately upgrade to 2018 then. Because there's a tolerance on pointOnLineOverlayer and I wondered why there wasn't one on LineOnLine. Thanks. Will try this out.

 

 


david_r
Celebrity
  • 8394 replies
  • March 29, 2018
ah. I will have to immediately upgrade to 2018 then. Because there's a tolerance on pointOnLineOverlayer and I wondered why there wasn't one on LineOnLine. Thanks. Will try this out.

 

 

If you want to avoid upgrading to FME 2018, consider using a Snapper with a small tolerance (just slightly larger than the rounding error) before the LineOnLineOverlayer.

tnarladni
Enthusiast
Forum|alt.badge.img+23
  • Author
  • Enthusiast
  • 88 replies
  • March 29, 2018
If you want to avoid upgrading to FME 2018, consider using a Snapper with a small tolerance (just slightly larger than the rounding error) before the LineOnLineOverlayer.
Hi David, there's not a tolerance on the snipper tool in 2017.