Our geohash
by hcvst
In preparation for Software Freedom Day and the H4H stand here is the Geohash of the H4H address: kekhczvdbmvb. Geohashing converts a GPS location into a string. Latitude and longitude are expressed as two sequences of bits where each bit increases the precision by halving the interval a value falls into. For example, with latitude the first bit indicates whether a point is on the northern or southern hemisphere (90-0 or -90 to 0 degrees) the second whether the point falls into the (+/-) 90 to 45 or the 45 to 0 degrees range, etc.. The bit sequences are then merged into one sequence (even bits for longitude, odd bits for latitude) and finally converted to base32. There’s a worked example on Wikipedia.
Although short, a Geohash code is not a pleasure to type. One possible use other than to share it online is to generate a QR-code (Quick Response) for it as shown below.
Proudly generarted at http://qr-code.co.za – my very own, all Python QR code generator in a messy but working pre-alpha state. 🙂
In preparation for Software Freedom Day and the H4H stand here is the Geohash of the H4H address: kekhczvdbmvb. Geohashing converts a GPS location into a string. Latitude and longitude are expressed as two sequences of bits where each bit increases the precision by halving the interval a value falls into. For example, with latitude the first bit…
3 Comments
Leave a Reply Cancel reply
You must be logged in to post a comment.
Get involved
Visit us on a Tuesday:
- Join us at 4 Burger Ave, Lyttleton Manor, Centurion every Tuesday evening from 18.00 till late (bring a project to work on or beer)
Telegram Group:
- Send a message to Schalk on Telegram to add you to the group - currently >100 users, relevant conversations for makers
IRL:
- Schalk 082 777 7098
After hours only, please rather send telegram message - Toby
http://tobykurien.com
- Not active at the moment, if you are interested in presenting a course, please let Schalk know
Comment to self: I (hcvst) am cool. http://geohash.org/hcvst is on Antarctica.
Dude can you please share the python code! I want to feed it to my python
Hi Tooblippe, the source is on github and linked to from the URL above – http://qr-code.co.za. As I wrote, it requires a rewrite to clean up.