Hi, I'm developing a portal for students where they can search for places they can rent. It features an option where you select a location and a maximum allowed distance.
The locations you can choose from have a hard-coded geolocation. The records in for example *db.places* also have a geolocation based on the address, postcal code, etc. Now when I fetch the records, i only want those records which have a distance *equal to or below the given distance*. I found a way to calculate the distance in kilometers between latitude and longitude points, but I'm afraid that if i have to check each record, my site will get really slow when there are alot of records. Anyone got some tips? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

