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

Expected behaviour for custom formats? #56

Closed
gamb opened this issue Aug 17, 2016 · 1 comment
Closed

Expected behaviour for custom formats? #56

gamb opened this issue Aug 17, 2016 · 1 comment

Comments

@gamb
Copy link

gamb commented Aug 17, 2016

A little surprised to find the following…

It's great that I can declare the schema for input data:

tree = rbush(16, ["['x']", "['y']", "['x']", "['y']"]);
tree.insert(point);

But I would expect search (etc.) to use the same schema:

tree.search(point) // []

Instead I need to:

tree.search(tree.toBBox(point)) // [point]

I'm guessing a conscious decision, rather than a bug?

@gamb
Copy link
Author

gamb commented Aug 17, 2016

Oops just saw #54 (thanks for explaining, in advance of my question ;-).

@gamb gamb closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant