How should I create a GQL query that returns the nearest entities (from my current location) based on their GeoPt property? Should I just created a \'distance\' function th
App Engine doesn't treat GeoPt properties specially - it has no built in spatial indexing. There are a number of third-party libraries that add support for spatial indexing, however. The best one (in my opinion) being geomodel.