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

Right Epsilon for 6 decimal GeoJSON ? #13

Open
cyrilchapon opened this issue Jul 10, 2018 · 2 comments
Open

Right Epsilon for 6 decimal GeoJSON ? #13

cyrilchapon opened this issue Jul 10, 2018 · 2 comments

Comments

@cyrilchapon
Copy link

What would be the best epsilon for GeoJSON with 6 decimals coordinates ?

@cyrilchapon
Copy link
Author

With tests, 0.00000000001 (1 x 10^-11) is ok while 0.0000000001 (1 x 10^-10) is not

@velipso
Copy link
Owner

velipso commented Jul 10, 2018

FYI, there is an open PR for better (?) epsilon calculations, here:

https://github.com/voidqk/polybooljs/pull/8

I haven't tested it in depth, but maybe it is worth your time.

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

2 participants