Skip to content

Toblerity/rtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d623260 · Mar 31, 2025
Mar 31, 2025
Mar 3, 2025
Mar 31, 2025
Mar 28, 2025
Mar 4, 2025
Mar 28, 2025
Mar 3, 2025
Mar 3, 2025
Jul 13, 2024
Mar 5, 2025
Jul 10, 2024
Jul 10, 2024
Dec 12, 2006
Oct 15, 2023
Jan 19, 2024
Mar 17, 2025
Jul 10, 2024
Mar 24, 2025
Mar 5, 2025
Mar 24, 2025

Repository files navigation

Rtree: Spatial indexing for Python

Test PyPI version

Rtree is a ctypes Python wrapper of libspatialindex that provides a number of advanced spatial indexing features for the spatially curious Python user. These features include:

  • Nearest neighbor search
  • Intersection search
  • Multi-dimensional indexes
  • Clustered indexes (store Python pickles directly with index entries)
  • Bulk loading
  • Deletion
  • Disk serialization
  • Custom storage implementation (to implement spatial indexing in ZODB, for example)

Wheels are available for most major platforms, and rtree with bundled libspatialindex can be installed via pip:

pip install rtree

See changes for all versions.