Question

Fastest way to merge many overlapping lines?

  • 26 April 2019
  • 2 replies
  • 56 views

I've got around 15,000 route line features I've generated from a ShortestPathFinder and want to combine these into one feature. Every line overlaps every line as the routes were from lots of addresses to one place.

I've tried using a LineonLineOverlayer which works perfectly on smaller datasets but here the merging is taking days.

I'm sure there's some clever way of splitting my dataset up and speeding up this process, or maybe there's an entirely different approach to doing this, or maybe even the ShortestPathFinder can be configured to output all routes as one feature?

Appreciate any suggestions , Thanks!


2 replies

Userlevel 5
Badge +25

Instead of the LineOnLineOverlayer the Intersector may be a good alternative.

How complex are your lines? If the answer is "very" you may want to cut them up (Chopper) first.

Instead of the LineOnLineOverlayer the Intersector may be a good alternative.

How complex are your lines? If the answer is "very" you may want to cut them up (Chopper) first.

Thanks for the suggestion, the intersector did exactly what I was looking for. It took 17 minutes for a sample of 500 features out of the 15,000 however. Going to try running it again with the lines split into sections - using topology builder on the original network and then using node points the split the route lines into sections. This bit doesn't take too long, like 5 minutes, so I'm hoping using these sections in the intersector will be much quicker.

Reply