10 ms·
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 area
by nl 15y 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 http://en.wikipedia.org/wiki/Geohash#Example
- dave1010uk 15y agoGeohash 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.