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

Build index to speed-up spatial queries #53

Open
JulienPeloton opened this issue Jun 20, 2018 · 0 comments
Open

Build index to speed-up spatial queries #53

JulienPeloton opened this issue Jun 20, 2018 · 0 comments
Labels

Comments

@JulienPeloton
Copy link
Member

Would be good to have this feature... Syntax would be something like

// Load the data as Shape3DRDD[Point3D]
val objectRDD: Shape3DRDD[Point3D] = ...

// Build the indices based on TREE.
objectRDD.buildIndex(<indexTREE>)

// Run any spatial query faster! Envelope query for example
val usingIndex = true
val envelope = ...
val queryResult = RangeQuery.windowQuery(objectRDD, envelope, usingIndex)

Ideally, it should combined with partitioning.

TBD!

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

No branches or pull requests

1 participant