#geo #s2

bin+lib s2

S2 geometric library

10 releases

✓ Uses Rust 2018 edition

0.0.10 Feb 10, 2020
0.0.9 Jul 12, 2019
0.0.8 Jun 2, 2019
0.0.7 Sep 5, 2018
0.0.1 May 31, 2017

#16 in #geo

Download history 217/week @ 2019-11-01 300/week @ 2019-11-08 154/week @ 2019-11-15 131/week @ 2019-11-22 115/week @ 2019-11-29 95/week @ 2019-12-06 218/week @ 2019-12-13 35/week @ 2019-12-20 51/week @ 2019-12-27 91/week @ 2020-01-03 216/week @ 2020-01-10 126/week @ 2020-01-17 80/week @ 2020-01-24 73/week @ 2020-01-31 61/week @ 2020-02-07

512 downloads per month

Apache-2.0

555KB
8K SLoC

rust-s2

Rust port of Google S2 geometry library.

Build Status docs

Status of the Go Library

This library is principally a port of the Golang S2 library, adapting to Rust idioms where it makes sense. We detail the progress of this port below relative to that Go library.

ℝ¹ - One-dimensional Cartesian coordinates

Full parity with Go.

ℝ² - Two-dimensional Cartesian coordinates

Full parity with Go.

ℝ³ - Three-dimensional Cartesian coordinates

Full parity with Go.

- Circular Geometry

Full parity with Go.

- Spherical Geometry

complete

  • Cell, CellID, LatLng, Point, Region, stuv

in progress

  • CellUnion, edgeutil, metric, predicates, Rect

pending

  • loop, paddedcell, polygon, polyline, shapeindex

Dependencies

~2MB
~38K SLoC