polybooljs icon indicating copy to clipboard operation
polybooljs copied to clipboard

Right Epsilon for 6 decimal GeoJSON ?

Open cyrilchapon opened this issue 5 years ago • 2 comments

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

cyrilchapon avatar Jul 10 '18 13:07 cyrilchapon

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

cyrilchapon avatar Jul 10 '18 13:07 cyrilchapon

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.

velipso avatar Jul 10 '18 14:07 velipso