Solved

LineOnLineOverlayer thinks the lines are not coincidental but they are.

  • 28 March 2018
  • 4 replies
  • 2 views

Badge +11

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?

icon

Best answer by erik_jan 28 March 2018, 23:17

View original

4 replies

Userlevel 2
Badge +16

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.

Badge +11

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.

 

 

Userlevel 5
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.
Badge +11
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.

 

 

Reply