How to find the closest point in the DB using objectify-appengine
问题 I'm using objectify-appengine in my app. In the DB I store latitude & longitude of places. at some point I'd like to find the closest place (from the DB) to a specific point. As far as i understood i can't perform regular SQL-like queries. So my question is how can it be done in the best way? 回答1: You should take a look at GeoModel, which enables Geospatial Queries with Google App Engine. Update: Let's assume that you have in your Objectify annotated model class, a GeoPt property called