Skip to main content
Question

Closest Matching Curve to Series of Points

  • March 14, 2023
  • 1 reply
  • 20 views

kelvin.jenkins
Contributor
Forum|alt.badge.img+5

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.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • March 14, 2023

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


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