Community & Support

Retrieve distance information from location module(s)

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.

Comments

i think that this would be

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

Thanks for the prompt reply

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!

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

nobody click here