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

Will rtree recognize coordinate/dimension changes of inserted rects? #214

Open
Robert-M-Muench opened this issue Jan 2, 2021 · 1 comment

Comments

@Robert-M-Muench
Copy link

If I have a rtree where I insert 50 rectangles and change the coordinates/dimensions of some rectangles afterwards, will rtree recognize this and adapt the internal data structure to work correctly? Or do I have to somehow let the tree know, that some rectangles changed?

@Robert-M-Muench
Copy link
Author

I think the safest way is to remove and re-insert nodes even the code looks like it does a "check and run" before every search, which I understand as bringing the tree into a consistent state.

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