Difference between quadtree and kd-tree

The difference (algorithmically) is: in quadtrees, the data reaching a node is split into a fixed (2^d), equal size cells, whereas in kdtrees, the data is split into two regions based on some data analysis (e.g. the median of some coordinate). Quadtrees do not scale well to high dimensions, due to the exponential dependency in … Read more

What is the difference between a KD-tree and a R-tree?

They are actually quite different. They serve similar purpose (region queries on spatial data), and they both are trees (and both belong to the family of bounding volume hierarchy indexes), but that is about all they have in common. R-Trees are balanced, k-d-trees are not (unless bulk-loaded). This is why R-trees are preferred for changing … Read more