s2geometry-node

1.3.1 • Public • Published

s2geometry-node

One day i need to play with S2 Geometry in Node, i found node-s2, unfortunately that library is outdated only support node v0.10.0 so i am trying to make the addon to be work again.

Bindings for the S2 Geometry Library into node.js.

For usage information, see the examples in the examples/ directory.

Todo List

-. Porting More Class -. Convert to Nan v2

Currently Ported

  • S2CellId
  • S2LatLng
  • S2Point
  • S2Cell
  • S2Cap
  • S2LatLngRect
  • S1Interval
  • S1Angle

Documentation: API.md

Notes

Some of the S2 API is not wrapped because it isn't meant to be exposed in this way, and is blocked from wrapping by DISALLOW_COPY_AND_ASSIGN.

  • S2CellUnion
  • S2Loop
  • S2Polyline
  • S2Polygon
  • S2RegionCoverer
  • S2RegionIntersection

See Also

Thanks

Contact Me

@billyriantono Feel free to contact me for help or anything else

/s2geometry-node/

    Package Sidebar

    Install

    npm i s2geometry-node

    Weekly Downloads

    10

    Version

    1.3.1

    License

    ISC

    Last publish

    Collaborators

    • billyriantono