-
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
New module @turf/point-to-line-distance
#925
Conversation
You broke it @stebogit - we're all doomed! |
Now, I fixed several issues updating other turf modules dependencies (don't know why that was necessary since I merged |
@stebogit New error, looks like you might need to add a
|
@DenisCarriere Could the approximation in the calculation result depend on the nose version? Cause as I said in my computer they all pass. |
🎉 |
Published under |
Following up #906 (comment)
Note: This module, like probably all the other distance related ones, calculates distance with a little error, due to the current Earth radius value (see discussion #715).
This module might allow a faster computation of
@turf/point-on-line
. I'll try work on that to test any improvement.Also, we can also use the following functions (thanks @tmcw) to implement the
@turf/wgs84-to-mercator
module: