-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong S2 cell ID for given latitude and longitude #48
Comments
Good find, unfortunately I don't think I've got the time now to debug this as this project has been deprecated since almost a year ago and I'm quite busy these days. The S2 implementation was a quick conversion of some functionality to make it work for calculating cells in use with Pokemon Go, during the conversion it appeared to work fine (as in I had values that were the same as s2sphere from Python, granted there's no test suite or anything for this project). I'd probably refer to people using an actual port or native binding of Google's S2 Geometry for the full functionality, though I don't think one exists for Ruby (which is why I had to throw something together). |
So maybe a warning on related source files and/or README would suffice...
Em seg, 17 de jul de 2017 às 21:56, nabeelamjad <notifications@github.com>
escreveu:
Good find, unfortunately I don't think I've got the time now to debug this
as this project has been deprecated since almost one year ago and I'm quite
busy these days.
The S2 implementation was a quick conversion of some functionality to make
it work for calculating cells in use with Pokemon Go, during the conversion
it appeared to work fine (as in I had values that were the same as s2sphere
from Python, granted there's no test suite or anything for this project).
I'd probably refer to people using an actual port or native binding of
Google's S2 Geometry for the full functionality, though I don't think one
exists for Ruby.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb4ZFWg6uovdUDymgEYts-O_IV0uO5Qks5sPAKzgaJpZM4OaqaR>
.
--
*Adriano Mitre*
|
which does not contain the S2 Cell ID 10722603763924729856, whose center is
lat, lng
.Contrast this with sidewalklabs/s2sphere: Python implementation of the S2 geometry library:
The text was updated successfully, but these errors were encountered: