Google App Engine Geohashing [英] Google App Engine Geohashing
问题描述
由于谷歌的分布式数据库设计,您不能简单地查询一组不等式。相反,他们建议做geohashing。该页面描述了该方法。
http:// code。 google.com/appengine/articles/geosearch.html
本质上,您可以预先计算边界框,以便您可以查询已标记有边界的项目框。
我不明白的过程的一部分。谢谢你的帮助!
对于Geomodel的完整java portage,请参阅 http://code.google.com/ p / javageomodel / 。
有一个演示类来解释你如何使用它。
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!
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.
这篇关于Google App Engine Geohashing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!