[google-appengine] Re: geohash and geographic queries

2009-04-20 Thread jguix
Hi, I kind of fixed it. I just accept that there are false positives and filter them after fetching the results of the query. I describe my approach here: http://public.grupoinnovant.com/blog/?p=23 jgui --~--~-~--~~~---~--~~ You received this message because you a

[google-appengine] Re: how to create google maps with mashed with about 10,000 geo codes

2009-04-20 Thread jguix
Think on having a dbmodel to store that locations, like the following: # model definition class Poi(db.Model): name = db.StringProperty() lat = db.FloatProperty() lon = db.FloatProperty() geohash = db.StringProperty() Geohash is a string built from longitude and latitude values that can

[google-appengine] geohash and geographic queries

2009-04-20 Thread jguix
Hi, I was trying to use geohash as an index for bbox queries in an app engine application, following this approach: http://labs.metacarta.com/blog/27.entry Since I am storing only points, I choose to use geohash instead of geoindex, but I got strange results, i.e. lots of points out of the bbox w