CSE 163
Indexes and Trees
��Hunter Schafer
Binary Search Tree
Can build up a tree to help us search through sorted items
2
Spatial Join - Points
Imagine we had a dataset of where�people live in England.��Want to know if someone lives�at coordinates (x, y)��How many points would we �have to search through?
3
[Point1, Point2, Point3, …]
Spatial Index
4
Spatial Index
This forms a tree!
5
Spatial Index Visualization
How the splits are chosen is not discussed
6
Spatial Index Query
To find if a Point is in the dataset, follow the tree! Suppose we are looking for g (we know it’s coordinates, but not index)
7
Spatial Index Performance
8
Group Work:
Best Practices
When you first working with this group:
Tips:
9