Skip to content
yjh0502Public

About

S2 geometry library in Rust

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

98 stars

Watchers

3 watching

Forks

Latest commit

 

History

268 Commits

Folders and files

rust-s2 🌐

test coverage crates.io docs MSRV

A Rust implementation of Google’s S2 geometry library: spherical geometry on the surface of a sphere, built around a hierarchical decomposition of the sphere into cells. It’s what you reach for when flat-plane geometry isn’t good enough — proximity search, region containment, and indexing for points, lines, and polygons on the globe.

Status 🚧

This is an ongoing port, further along in some areas than others — in particular, lines and polygons aren’t implemented yet. Rather than maintain a status table here that quietly goes stale, have a look at the issue tracker for what’s implemented, what’s missing, and what’s being worked on.

Contributing 🙌

Contributions of any size are very welcome — typo fixes, bug reports, new tests, or porting a whole piece of functionality. See CONTRIBUTING.md to get started; issues labeled good first issue are a good place to look if you’re new here.

Please also take a look at our Code of Conduct, and our Security Policy if you need to report a vulnerability.

Credits ❤️

This library exists thanks to @yjh0502, who started and has driven most of this port, with substantial contributions from @brawer, @nside, @Louisvranderick, and @HLennart — and everyone else in the contributors graph. Thank you all! 🎉

License ⚖️

Apache-2.0 — see LICENSE.

About

S2 geometry library in Rust

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

98 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages