Behaviour when X wraps at 1/0
jlaine opened this issue · comments
Jeremy Lainé commented
Hi,
First of all thanks for kdbush, it is indeed very fast! I have been browsing the code, and one question comes to mind: is there any provision for X (aka longitude) wraps at the 1/0 boundary?
Thanks,
Jeremy
Volodymyr Agafonkin commented
No, KDBush is a purely geometric library — it uses ordinary 2D coordinates. Any longitude wrapping logic must be implemented elsewhere.
Jeremy Lainé commented
Ok, makes sense, I guess the next step is to examine the supercluster code then!