-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
thought experiment: Emoji geohash #1
Comments
hey I implemented this in Node during a long roadtrip yesterday: https://github.com/mapmeld/geohash-emoji also I miscalculated my first emoji coordinate - real location was 🔳🏰💭 |
YUSSSSS Let me push up my map front end and try to hook things up this weekend p.s. WTFPL might not be a good choice because it lacks protection against implied warranty... do you have thoughts on this? I know it's stupid but part of me thinks someone may not get the joke |
I can totally relicense it. MIT like this repo is OK? |
Yep sounds great to me. Thanks! 👍 |
@louh OK I got you covered |
So I hooked up geohash-emoji to the map. (Just copied it and commented out the console.log output for the web for now.) I'm also using Twitter's emoji library (https://github.com/twitter/twemoji) so that it normalizes the display of emoji across devices. Any reason why some emoji are not rendered? Are there emoji that's not actually widely used (or is Unicode 8.0)? |
https://en.wikipedia.org/wiki/Miscellaneous_Symbols_and_Pictographs says that it adds 24 symbols in Unicode 8 but there are significantly more Emoji missing (almost all of 1F57x down on my Android. Im reluctant to use a web font. In practice, we could skip the rare Emoji and still have hundreds to use in coordinates... what do you think? |
Ok I just read your link. Probably the 8.0 |
I traded Twemoji out for Emoji One (http://emojione.com/) because it has better coverage (see comparison: http://emoji.codes/family). But even then there's a bunch missing. I think we can skip rare Emoji, sure. Besides, it seems some good emoji are getting used in places that are off the map anyway (e.g. http://what3emojis.com/map/#5/88.629/-37.068) |
I spent the weekend playing around with the map and gathering some thoughts. Thanks so much for kicking this off, @mapmeld. These are some follow up thoughts:
|
I hadn't really audited the Emoji list, which I think is important I would like to see testing out a different grid. This was just a hack while I was on the road |
What is geohash
Geohashing divides the earth into 8x4 at each zoom level. When I add one of the 32 distinct alphanumerics, I go into that grid square. As a geohash gets longer, it gets more specific.
How many emoji in the geohash?
According to Wikipedia which has a loose definition of Emoji, 256 miscellaneous symbols, 192 dingbats, 766 Miscellaneous Symbols and Pictographs, 80 emoticons, 98 Transport and Map Symbols, 15 Supplemental Symbols and Pictographs make a total of 1407 symbols in Unicode 8. The first two categories were around before emoticons, so I drop them and arrive at 959 tru-moji (tm).
I'm going to thought-experiment 900 emoji in the address set, because it's 30^2 and there are probably a few (like pile of poo and love hotel) which we don't want to randomly assign to someone, especially North Korea. These are now "premium" paid emoji.
Can three emoji cover earth?
Yes, 900^3 gives you 7.29 * 10^8 addresses
What is the first emoji in my address?
My lat,lng right now is 19.6968708,96.1249349. If the origin is -90, -180, I'm 0.6094 of the way to the north pole and 0.767 of the distance to 180 E. This is where the 30^2 emoji come in. I am in the 24th row, 19th column. My address starts with emoji 709
What is emoji 709?
It's in the first 766 so it falls under Miscellaneous Symbols and Pictographs. Doing some rough calculation (including skipping the two empty codepoints) I think it's the little-known U+1F5C7 Empty Note Pad
What's your full address? What if you changed the origin?
I would need a script to continue this. Anyway if I change the origin to the top left because I'm north-west hemisphere centric, I switch to being the 17th row, so I'm emoji 499, 📲 mobile phone with rightward arrow.
The text was updated successfully, but these errors were encountered: