s2geo

1.3.7 • Public • Published

s2geo-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.

Windows User

For Windows User please make sure you have installed :

  • Latest NPM Version , for make sure please run : npm install -g npm@next
  • Visual C++ Build Tools
  • Python 2.7

Todo List

-. Porting More Class -. Convert to Nan v2 -. Make a BAT script for help Windows User checking the requirement.

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

  • mapbox team
  • cypherix93 - for make this libs can compile in Windows

Contact Me

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

Readme

Keywords

Package Sidebar

Install

npm i s2geo

Weekly Downloads

2

Version

1.3.7

License

ISC

Unpacked Size

5.77 MB

Total Files

280

Last publish

Collaborators

  • vito2008