Retrieve distance information from location module(s)

tamasco - August 5, 2009 - 21:30

I am implementing a social networking site in D6 and need users to be able to search for friends based on the distance. For example, user 1 is in Chicago. He needs friends nearby up to, say, a distance of 700 km apart. Is it currently possible to filter users by distance using any of the Geo modules available?

Thanks in advance for your support.

i think that this would be

lasac - August 5, 2009 - 21:40

i think that this would be posible with views. Though i have no knowledg of using any GEO module

Thanks for the prompt reply

tamasco - August 25, 2009 - 11:17

Thanks for your quick reply. From what I know, the Geo modules only allows one to retrieve latitudes and longitudes. My suspicion is that it might be a tough task converting them into distances. Am not sure if there is a module capable of "knowing" distances from given locations.

Once again many thanks...

Solved!

tamasco - August 25, 2009 - 11:27

I have been able to get this done with the location module along with Gmap. The following issue helped me. http://drupal.org/node/321114

 
 

Drupal is a registered trademark of Dries Buytaert.