#geo #s2

bin+lib s2

S2 geometric library

10 releases

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

#69 in Math

Download history 168/week @ 2020-05-27 357/week @ 2020-06-03 201/week @ 2020-06-10 248/week @ 2020-06-17 146/week @ 2020-06-24 230/week @ 2020-07-01 201/week @ 2020-07-08 169/week @ 2020-07-15 110/week @ 2020-07-22 96/week @ 2020-07-29 82/week @ 2020-08-05 70/week @ 2020-08-12 105/week @ 2020-08-19 185/week @ 2020-08-26 213/week @ 2020-09-02 120/week @ 2020-09-09

1,291 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
~39K SLoC