Skip to main content
Question

LineOnLineOverlayer is running very slow


I have calculated approx. 3000 possible routes with the ShortestPathFinder over a network. Most of the routes are overlapping each other. At some networksections more then 50 routes are overlapped. I will split op the sections and fill the _overlap attribute with the amount of overlapping routes and I use the LineOnLineOverlayer for that. But the LineOnLineOverlayer performs very slow in this case. Does anyone knows how I can increase the speed?

Regards,

Steven Loosman

5 replies

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • July 4, 2018

You could try using the Intersector transformer -- if all you need is the overlaps counted it should do that. What version of FME are you using? For sure FME 2018 will do better in this than FME 2017, and 2018.1 even better yet. If you are willing to share the input dataset with us via support@safe.com, we'd love also to take a look. Oh, and please tell me you're not using 32 bit Windows -- it generally is slower for these types of things.


@daleatsafe Hello Dale,

I'm using 2018 64 bit version. Using the Intersector does not give a noticeable acceleration. To day I will upload my data and workspace.

Thanks in advance, Steven Loosman


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • August 8, 2018

Hi @stevenloosman First use a PathSplitter on the paths. Then the overlapping features should be identical so there's no need to calculate intersections with a LineOnLineOverlayer or Intersector. Instead, use a Matcher (by 2D geometry) and ListElementCounter to get the number of overlaps.


Hi @DanAtSafe it works!! Thanks for your help.


stevenloosman wrote:

Hi @DanAtSafe it works!! Thanks for your help.

Yes, thanks so much @DanAtSafe! This cut my processing time by 80%!

 


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