Skip to content
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

Open
slowernet opened this issue Nov 25, 2012 · 4 comments
Open

Base32 alphabet? #5

slowernet opened this issue Nov 25, 2012 · 4 comments

Comments

@slowernet
Copy link

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.

@onyxraven
Copy link

See the reference Wikipedia article: http://en.wikipedia.org/wiki/Geohash

@joeframbach
Copy link

👍 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!

@onyxraven
Copy link

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

@dribnet
Copy link

dribnet commented Oct 22, 2014

Because: "I, l, and O conflict visually with 1 and 0 and among themselves. For A, it's just one vowel to form words."

(See here).

Well kudos to Gustavo at least for not being as puritanical as Douglas Crockford's base32 encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants