1.3.7 • Published 6 years ago

s2geo v1.3.7

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

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

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago