Hacker News new | ask | show | jobs
by nl 5476 days ago
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

1 comments

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.