-
Notifications
You must be signed in to change notification settings - Fork 46
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
Why sometimes it returns the same neighbor multiple times #44
Comments
This problem becomes much more serious when |
Just curious and just a guess, but are your input lng/lat points unique? I wonder if some of them are repeated and that's confusing the kdtree. |
yes, they're unique. I switched to scipy.spatial.KDTree, and not seeing the same problem. |
@storpipfugl any idea ? |
pykdtree has been validated against scipy.spatial.KDTree so disagreement of results is unexpected. @zyxue : Is it possible for you to provide a minimal data set that reproduces the problem? |
As seen in the first row, 460448, 441197, 83629, 208359 are returned twice, what could be the reason, please?
The text was updated successfully, but these errors were encountered: