Skip to main content

Hello,

I have a set of pairs of points that each have a uniqueID_start and unique_end field. I am trying to extract all of the line segments between each pair of points. The tricky thing is that the pairs can be several line segments long, and have other pairs intersecting them:

There could also be several points on a single spot, but corresponding to different pair sets.

It’s a mess! Any help would be wonderful!

Hi @ldreyfuss I think you’ll want to create 2-point line segments from those pairs of points with a FromToBuilder or by some other means, then direct those and the entire network of line segments into a ShortestPathFinder.  The result will be a path of line features between each pair of points.


This essentially worked! I used the LineBuilder, grouped by the shared attribute, then fed that into the ShortestPathFinder. Thanks so much for your response, I appreciate it!


Reply