GEO region Searching...

18 views
Skip to first unread message

Jason Brower

unread,
Dec 28, 2010, 2:12:16 PM12/28/10
to Web2py
I know we can find good inforamtion geographical stuff in teh web2py manual.  But is there a way to, for example, find things in a search area around a coordinate?
My guess is that I should do the following:
Get the logged in users geo information (lat and long)
Get the distance away that I want to search around that person and calculate the lat and logitudes of that area...
Find if the lat and log of the items.lat and items.long in my database are within the regions of the users.lat and users.log and the (areas.lat and areas.long)* for for four directions.
Does that make sences?  Would that be the best aproach?
Best Regards,
Jason Brower

Luther Goh Lu Feng

unread,
Dec 28, 2010, 5:56:12 PM12/28/10
to web2py-users
Reply all
Reply to author
Forward
0 new messages