Skip to main content
Question

Connecting Points with No Order

  • July 30, 2018
  • 2 replies
  • 10 views

cwarren
Forum|alt.badge.img

I have a set of points that have no order of collection and I need to connect them together to form a polyline. I have been working with the neighbor finder transformer, but having some issues coming up with the best way to have them drawn correctly. I'm thinking I might need to designate a start point and then remove each point from a list that was previously used to connect?

 

 

What I would like to achieve is one polyline connected from PT4 - PT1 - PT3 - PT2. Any ideas on a good way to achieve this result? The example below is just a sample, as the full job would contain hundreds of points that need connecting and are all out of order, so I can't use the line builder.

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.

2 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • July 30, 2018

order-points.fmw Hi @madwarren You'll need a LineBuilder to create the From-To line for the ShortestPathFinder. You won't need a Network. Set the 'Cost Type' to 'By Straight Line Distance (No Network)' and under 'Optimization Options' set 'Reorder From-To Line' to 'All Points'.


cwarren
Forum|alt.badge.img
  • Author
  • 49 replies
  • July 31, 2018

order-points.fmw Hi @madwarren You'll need a LineBuilder to create the From-To line for the ShortestPathFinder. You won't need a Network. Set the 'Cost Type' to 'By Straight Line Distance (No Network)' and under 'Optimization Options' set 'Reorder From-To Line' to 'All Points'.

Thank you @DanAtSafe. I will experiment with this some more and try to get the desired result.