Skip to main content

I've been trying to match the closest curve to a series a points.

I tried the NeighbourFinder with ListStatistics and a Sorter, but it wasnt giving good matches to the points I have (likely because it's looking at points in all directions, not just points perpendicular to the curves).

 

Any ideas how to match the curve closest to the points?

Curves are grouped by _segment_id.

Thanks for including the data, its always good to see what's being input.

 

You've got 100s of curves all stacked on top of each other, are you trying to find the curve that best fits the points? eg the red line?image 

Something like this starts to get you pretty close

image


Reply