Commit Graph

12 Commits

Author SHA1 Message Date
John Firebaugh
ffdeef398d Rewrite tree logic
The main problem with the existing logic was that it
did not update the extents of relations when previously incomplete members were loaded.

It was also overly stateful; the various queues and flags
are no longer required.

Fixes #1928.
Fixes #1540.
2013-10-28 16:57:18 -07:00
John Firebaugh
95e667d6b7 More tests 2013-10-28 16:34:08 -07:00
John Firebaugh
e0e08115e5 Pass entity array to Tree#rebase 2013-10-28 16:34:08 -07:00
John Firebaugh
e6d3cb242c Clean up tests 2013-10-28 14:07:28 -07:00
Vladimir Agafonkin
454eecae8f replace RTree with RBush 2013-07-21 17:20:14 +03:00
Ansis Brammanis
2fa8ca174f add test case for stale tree bug, a0e8292 2013-04-24 19:41:23 -04:00
Ansis Brammanis
8e6e860f87 Fix removing from tree 2013-02-19 18:06:18 -05:00
Ansis Brammanis
8c1e0212f9 Fix rebasing and test 2013-02-13 16:08:39 -05:00
Ansis Brammanis
64c8ef626f Add general test for spatial tree 2013-02-13 15:10:48 -05:00
Ansis Brammanis
b80bbc1fbe Add tree test 2013-02-13 14:40:37 -05:00
Ansis Brammanis
9a4d4ab9c5 Retry queued entities after rebase 2013-02-13 14:16:18 -05:00
Ansis Brammanis
9c65e58cc1 Tree handles entities with missing children 2013-02-13 10:23:30 -05:00