-
Notifications
You must be signed in to change notification settings - Fork 45
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
Base32 alphabet? #5
Comments
See the reference Wikipedia article: http://en.wikipedia.org/wiki/Geohash |
👍 I am also curious. There doesn't seem to be any other works which exclude AILO. I first thought the wikipedia article was a typo! |
Yeah, the wikipedia article shows the right exclusions. Other geohash implementations look the same: https://github.com/davetroy/geohash-js/blob/master/geohash.js = 0123456789bcdefghjkmnpqrstuvwxyz https://github.com/lyokato/libgeohash/blob/master/src/geohash.c = 0123456789bcdefghjkmnpqrstuvwxyz Its odd that its a different set than the standards, but at least the libraries are consistent |
Because: "I, l, and O conflict visually with 1 and 0 and among themselves. For A, it's just one vowel to form words." Well kudos to Gustavo at least for not being as puritanical as Douglas Crockford's base32 encoding. |
I'm curious how you settled on your Base32 alphabet (excluding AILO)? RFC4648 style (excluding 0189) and Crockford (excluding ILOU) seem more standard (per Wikipedia) and have active gem implementations. Might be being thick but I couldn't find a ready-made decoder for your scheme.
Thanks for your time.
The text was updated successfully, but these errors were encountered: