polybooljs
polybooljs copied to clipboard
Right Epsilon for 6 decimal GeoJSON ?
What would be the best epsilon for GeoJSON with 6 decimals coordinates ?
With tests, 0.00000000001
(1 x 10^-11
) is ok while 0.0000000001
(1 x 10^-10
) is not
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.