-
Notifications
You must be signed in to change notification settings - Fork 87
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
terra:interpNear interpolates in a square window, not in a circle, beyond 100 points #1509
Comments
Thank you for reporting this. This calls
If the number of points is above this threshold a Quadtree based algorithm is used. That explains the variation you see, and leads to this work-around in R:
I could of course implement this but at this point, I am not sure if this is a bug in GDAL; or an undocumented option to speed up the computation (with a, perhaps undesired, side-effect). |
Thanks, that's clear. The |
I get a result I don't understand, with
interpNear
. As soon as the number of starting points exceeds 100, it interpolates in square windows, not in circles (and therefore does not respect the radius provided). Using the example given in the documentation:It works well below 100 points:
Perhaps I've misunderstood something? Thanks,
Jean-Luc
The text was updated successfully, but these errors were encountered: