Skip to main content

R-Tree spatial index for Python GIS

Project description

Rtree: Spatial indexing for Python

Build 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rtree-1.3.0.tar.gz (48.2 kB view hashes)

Uploaded Source

Built Distributions

Rtree-1.3.0-py3-none-win_amd64.whl (377.5 kB view hashes)

Uploaded Python 3 Windows x86-64

Rtree-1.3.0-py3-none-musllinux_1_2_x86_64.whl (1.5 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

Rtree-1.3.0-py3-none-musllinux_1_2_i686.whl (1.6 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ i686

Rtree-1.3.0-py3-none-musllinux_1_2_aarch64.whl (1.4 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

Rtree-1.3.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (543.2 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

Rtree-1.3.0-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl (569.2 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

Rtree-1.3.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (500.4 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

Rtree-1.3.0-py3-none-macosx_11_0_arm64.whl (432.9 kB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

Rtree-1.3.0-py3-none-macosx_10_9_x86_64.whl (475.5 kB view hashes)

Uploaded Python 3 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page