Skip to content

cibingeorge/s2geo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2geo

Erlang port of google s2-geometry-library https://github.com/micolous/s2-geometry-library.git

Build

$ rebar3 compile

$ rebar3 shell s2cellid:new({51.5001525, -0.1262355}).

{s2latlngrect, LatLng}=s2latlngrect:new_from_lat_lng_degree({33.0, -122.0},{33.1, -122.1}). {covering, Cellids] = s2latlngrect:get_covering({s2latlngrect, LatLng}, 6, {8, 12}). s2cellid:to_lat_lng(864691128455135232).

About

S2Geometry Erlang Nif

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 49.6%
  • Erlang 42.7%
  • C 5.2%
  • Makefile 1.9%
  • Shell 0.6%