Blogs

Easy Geoboxing on AppEngine

EDIT: Thanks to Karl, who in the comments pointed out multiple flaws in my implementation. I've fixed them and pushed the updated version to github. /EDIT

Geoboxing is a technique for pre-computing bounding boxes for points of interest. On AppEngine geoboxing allows for fast searching using only equality filters, which saves your single inequality filter for other parameters.

The Path to Hell

I've been contemplating lately a serious problem with BeerHopper's implementation of local search. As it currently stands we use Yahoo local search to find nearby bars and restaurants. Unfortunately there are a few problems with this:

  1. The Yahoo API only allows you to search one category at a time. I worked around this by searching both all_restaurants and all_bars_pubs_and_clubs. Everything's cool right? No, checkout problem 2:
Syndicate content