Spatial index
Appearance
Spatial indexes are used by spatial databases to optimize spatial queries. Indexes uses by non-spatial databases cannot effectively handle features such how far two points differ and whether points fall within a spatial area of interest. Common spatial index methods include:
- Grid
- Quad-tree
- R-tree: Typically the preferred method for indexing spatial data. Objects (shaps, lines and points) are grouped using the minimum bounding rectangle (MBR). Objects are added to an MBR within the index that will lead to the smallest increase in its size.