Skip to main content
Question

I have points that have no order but need to form polylines based on nearest distance and grouped by a unique identifier. Also being able to exclude points beyond a certain distance. Can anyone suggest appropriate transformers.

  • August 5, 2020
  • 4 replies
  • 14 views

Example

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.

4 replies

deanhowell
Influencer
Forum|alt.badge.img+24
  • Influencer
  • 315 replies
  • August 5, 2020

Hello @aevans​ I would suggest a combination of NeighborFinder, VertexCreator and LineBuilder. Somewhere in there you will need to sort the points lines based on the nearest neighbor but that is the tricky part. I am having a look into it and will let you know if I find anything suitable :)


deanhowell
Influencer
Forum|alt.badge.img+24
  • Influencer
  • 315 replies
  • August 5, 2020

Hello again @aevans​  try the following. It will probably need some tweaking for your situation i.e. NeighborFinder distance .

 

points

I had to user the neighborfinder twice as it was doing some strange things with my sample data. Other FME gurus might have a cleaner solution.

 


  • Author
  • 2 replies
  • September 2, 2020

​Thanks for the reply to my problem.

Unfortunately I could only generate this kind of result below, so I am going to use python and incorporate it into FME, as I know it can produce the desired result.

 


  • Author
  • 2 replies
  • September 2, 2020

 

line