Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Geohash for spatial index and search. Nice, clear explanation of what a Geohash is. It’s a way of encoding a lat/lon position as a short string, with the useful property that similar co-ordinates with more or less significant figures share a common prefix in their geohash.

Tagged

2 comments

  1. The common prefix property doesn't apply for locations either side of Greenwich!

    Michael S. - 8th June 2008 14:32 - #

  2. Thanks for the link. I was inspired and thought I'd finally write up a similar implementation I did a while ago. Probably not as advanced, but might be interesting since it's very easy to understand.

    http://fukamachi.org/wp/2008/06/09/geohashing-usin g-matrices-in-ruby/

    Sho - 8th June 2008 19:17 - #

Comments are closed.
A django site