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

RTree did not find the object I inserted. #63

Closed
wangli1426 opened this issue Nov 23, 2016 · 1 comment
Closed

RTree did not find the object I inserted. #63

wangli1426 opened this issue Nov 23, 2016 · 1 comment

Comments

@wangli1426
Copy link

I inserted a point and search a large rectangle for the point, but the result is empty.

        RTree<String, Geometry> rTree = RTree.create();
        rTree.add("first", Geometries.point(5,5));

        Observable<Entry<String, Geometry>> result = rTree.search(Geometries.rectangle(0,0,500,500));
        System.out.print(result.toList().toBlocking().single());
@wangli1426
Copy link
Author

Sorry, I ignored that RTree is immutable.

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