Skip to content
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

turf.buffer Distances don't seem to match turf.distance #29

Open
owaaa opened this issue Jan 12, 2016 · 2 comments
Open

turf.buffer Distances don't seem to match turf.distance #29

owaaa opened this issue Jan 12, 2016 · 2 comments

Comments

@owaaa
Copy link

owaaa commented Jan 12, 2016

I computing a 25km-75km buffer in eastern Europe. On a 75km buffer turf.distance calculates a point as 60km away but the buffer of 75km does not extend to include the point. I am supplying unit='kilometers' to both. My database which uses sloppyarc seems to agree more with turf.distance. Do these two methods use different distance calculations? It's not documented what buffer uses as an algorithm only that turf.distance uses haversine. I am more concerned about consistency (For UX presentation) than complete accuracy.

@markstos
Copy link

Please post code which illustrates the differing behaviors.

@stevevance
Copy link

This seems to be related to #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants