Show HN: An API to encode and decode coordinates using Geohash
geohash.world
geohash.world
Edit: well, some of http://geohash.world/about.html makes it sound like a pet project for learning purposes. In which case, anything goes, I guess? But I'm still not sure if it's only a pet project?
The main reason I did it (other than a fun weekend project) was to make other people interested in it, and enable them to build something fun, very quickly. There wasn't a free+modern+easy-to-use-in-bulk API available, and this way me and others can spend their weekend/hackathons building something on top of geohashes instead of wrestling with the algorithm itself.
Edit : as a greek, I really dig your username :P
reminds me of http://left-pad.io/
The short definition is "A geohash is a convenient way of expressing a location (anywhere in the world) using a short alphanumeric string, with greater precision obtained with longer strings."
Here's another way to "use a short alphanumeric string" and "get greater precision with longer strings": "37,122", "37.7,122.4", "37.77,122.41", "37.774,122.419"
That seems so simple and universal and has been a standard since before our great grandparents were born, time to disrupt it to save a couple of bytes?
It was pretty straightforward and there are already a couple of dozen libraries out there, in any language you wish, to get some ideas!
W3W (or the better alternative of Plus Codes) is then essentially just a layer of human readable names to have a digestible encoding of geohashes.
The first hit for a geohash gem (I'm a ruby guy) returns a github page where the instructions to use are pretty much an include statement and then encode/decode statements.
I don't mean to be harsh, but I have a big problem with APIs where libraries would do, and I think many consider network hops to be too cheap and available. The Sr Engineer in me would never allow a project to make calls over a network unless absolutely necessary.