Skip to content
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

Planar index #76

Closed
rsbivand opened this issue Nov 16, 2016 · 5 comments
Closed

Planar index #76

rsbivand opened this issue Nov 16, 2016 · 5 comments

Comments

@rsbivand
Copy link
Member

@rsbivand rsbivand commented Nov 16, 2016

I just noticed RcppAnnoy, which, because the index is storable after building, might be a candidate for point data.

@edzer
Copy link
Member

@edzer edzer commented Nov 20, 2016

Do we have k-NN functions now, and should they be part of a package providing simple feature access?

@rsbivand
Copy link
Member Author

@rsbivand rsbivand commented Nov 21, 2016

No we don't, this is "future-proofing". The GEOS STRTree is used a little in rgeos (could be more, but prepared geometries aren't predicate-ready), but only easily searches for intersecting envelopes, which don't work for points. We know too little yet about vector tiling, but indexing seems to be needed for that. GPKG has RTree Spatial Indexes extensions, I guess others will be close soon. I can't predict where this is going, but if spatial is big, then indices will be part of the solution.

@edzer
Copy link
Member

@edzer edzer commented Feb 5, 2017

but prepared geometries aren't predicate-ready

what did you mean by that remark?

@rsbivand
Copy link
Member Author

@rsbivand rsbivand commented Feb 5, 2017

Do not recall now. The underlying idea IIRC was to try to prepare for vector tiling by providing a stored and update-able index as an adjunct to a geometry column. I haven't got any further.

@edzer edzer mentioned this issue Jun 2, 2017
edzer added a commit that referenced this issue Jun 22, 2017
@edzer
Copy link
Member

@edzer edzer commented Jun 22, 2017

The current implementation computes indexes on the fly for most binary operations, and discards them afterwards; see http://r-spatial.org/r/2017/06/22/spatial-index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants