Overview
An R-Tree groups nearby spatial objects into minimum bounding rectangles, enabling efficient overlap and range queries.
Indexes rectangles or spatial objects with nested bounding boxes.
Compact metadata for implementation and discovery.
An R-Tree groups nearby spatial objects into minimum bounding rectangles, enabling efficient overlap and range queries.
Quick facts
Runtime and memory behavior at a glance.
Best
O(log n)
Average
O(log n) average query
Worst
O(n)
Space
O(n)
enlargement = area(union(box, item_box)) - area(box)Chooses an insertion child by added bounding-box area.
Show nested rectangles grouping nearby spatial objects.
Split heuristics strongly affect query performance.
What each reference supports for this entry.
Original reference for R-tree bounding rectangles, hierarchical spatial indexing, and insertion/search behavior.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
R-trees and quadtrees are spatial indexes with different bounding and subdivision strategies.