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.


Example

4 replies

deanhowell
Influencer
Forum|alt.badge.img+23
  • Influencer
  • 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+23
  • Influencer
  • 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
  • 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
  • September 2, 2020

 

line


Reply


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