georust/rstar

R*-tree spatial index for the Rust ecosystem

Rust

564

313 commits

updated Oct 10, 2026

See the code

README

GitHub Workflow Status Docs Crates.io MIT/Apache

rstar

A flexible, n-dimensional r*-tree implementation for the Rust ecosystem, suitable for use as a spatial index.

Please refer to the crate README for more information.

r-tree

An r-tree is a data structure containing spatial data and is optimized for nearest neighbor search. Spatial data refers to an object that has the notion of a position and extent, for example points, lines and rectangles in any dimension.

Geometries

Primitives are provided for point, line, and rectangle geometries. The geo crate uses rstar as an efficient spatial index and provides RTreeObject implementations for storing complex geometries such as linestrings and polygons.

Demo

To run the rstar-demo, checkout the repository and run cargo run rstar-demo in the repository root. Demo Image

License

Licensed under either of

at your option.

geometry
rust
spatial

georust/rstar

R*-tree spatial index for the Rust ecosystem

Rust

564

313 commits

updated Oct 10, 2026

See the code

README

GitHub Workflow Status Docs Crates.io MIT/Apache

rstar

A flexible, n-dimensional r*-tree implementation for the Rust ecosystem, suitable for use as a spatial index.

Please refer to the crate README for more information.

r-tree

An r-tree is a data structure containing spatial data and is optimized for nearest neighbor search. Spatial data refers to an object that has the notion of a position and extent, for example points, lines and rectangles in any dimension.

Geometries

Primitives are provided for point, line, and rectangle geometries. The geo crate uses rstar as an efficient spatial index and provides RTreeObject implementations for storing complex geometries such as linestrings and polygons.

Demo

To run the rstar-demo, checkout the repository and run cargo run rstar-demo in the repository root. Demo Image

License

Licensed under either of

at your option.

geometry
rust
spatial

Project health

Overall

5.4/10

Maintained

10/10

Code review

10/10
OpenSSF Scorecard

crates.io

Latest release

0.13.0 · May 24, 2026

Releases this year

1

Significant stargazers

Stepan Koltsov

536 followers · starred Dec 2023

Adrian Garcia Badaracco

690 followers · starred Apr 2023

Patrick Ferris

184 followers · starred Sep 2023

varkor

571 followers · starred May 2019