Google App Engine Geohashing

freakTheMighty picture freakTheMighty · Jan 13, 2010 · Viewed 10.6k times · Source

I am writing a web application using GWT and App Engine. My application will need to post and query items based on their latitude, longitude.

As a result of google's distributed database design you can't simple query a set of inequalities. Instead they suggest doing geohashing. The method is described on this page.

http://code.google.com/appengine/articles/geosearch.html

Essentially you pre compute a bounding box so that you can query items that have been tagged with that bounding box.

There is one part of the process that I don't understand. What does the "slice" attribute mean?

Thanks for your help!

Answer

Alexandre Gellibert picture Alexandre Gellibert · Feb 26, 2010

For a complete java portage of Geomodel, please see http://code.google.com/p/javageomodel/.

There is a demo class to explain you how to use it.