-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tolerance to @turf/boolean-point-on-line #906
Comments
Both my other options are a no go, they were more about using an epsilon value to round float point precision which isn't really what we're wanting from this tolerance type setting. So I'm thinking the distance measurement is the best bet at the moment... Will keep mulling it over |
👍 @rowanwins great findings, I wouldn't sweat it if we don't get this implemented, the Very interesting links you provided, I also should of paid more attention to math 😄 |
@rowanwins BTW, in this issue we are talking about |
👍 That would be handy!
Agreed, it can get confusing at times 😢 |
Adding another reference to this jsfiddle which looks pretty close to what we want. Had a brief go at getting it going with no joy so needs a bit more thought |
That JSFiddle is really cool! 😄 so fun! |
This ticket is pretty old, but has anymore progress been made for this issue? We have a use case where we're using the We're looking into the jsfiddle above as maybe a potential solution. Thanks for sharing that. |
A couple of days ago @DenisCarriere raised the possibility of adding a tolerance threshold to
@turf/boolean-point-on-line
. Currently the point has to be exactly on the line, there is 0 margin for error.A few finds from my investigations
I knew I should've paid more attention in maths!
The text was updated successfully, but these errors were encountered: