Given a bounding box of numbers (here using lat and long), how can I
search within a range of the numbers since there can only be one
inequality comparison per property?

Here is the query that does not work.
query = db.GqlQuery("SELECT * FROM SpeakingOffer"
                                "WHERE 96.8 > 100 AND :2 <
location2_lat"
                                "AND :3 > location1_long AND :4
location_long"
                                "ORDER BY entry_time",
lat,lat,long,long)

Here is the start of another method.
query = db.Query(SpeakingOffer)
            query.filter('location1_lat <=', lat)
            query.filter('location2_lat >=',lat)

So what is the recommended method of dealing with this situation?
(outside even of a GIS domain)

Thanks,
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to