Skip to content

Comment on Just launched geo.gy - a location shortener

Comments

You could/should make the URL be a GeoHash [1]

GeoHash's have the extremely attractive property that shorter versions of the same URL correspond to larger areas around the same point - ie, you can trade precision for size.

[1] http://en.wikipedia.org/wiki/Geohash#Example

Geohash also doesn't require a database to lookup hashes - all you need is the formula. The only disadvantage seems to be the slightly longer URLs.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.