Module rtree

Module rtree 

Source
Expand description

R-tree implementation for efficient spatial indexing

This module provides an implementation of the R-tree data structure for efficient spatial indexing and querying in 2D and higher dimensional spaces.

R-trees are tree data structures used for spatial access methods that group nearby objects and represent them with minimum bounding rectangles (MBRs) in the next higher level of the tree. They are useful for spatial databases, GIS systems, and other applications involving multidimensional data.

This implementation supports:

  • Insertion and deletion of data points
  • Range queries
  • Nearest neighbor queries
  • Spatial joins

Structsยง

RTree
R-tree for spatial indexing and queries
Rectangle
Rectangle represents a minimum bounding rectangle (MBR) in N-dimensional space.