I am working on a dating application in PHP: My application has a search page that searches suitable user profiles within certain distance of a person's location (need to specify the no. of miles/kms to search for).
I understand the logic to implement this (ref: Get nearest places on Google Maps, using MySQL spatial data), just not sure where I can get the database that stores the geographical position of each location from around the world. Is this available for free? Would be interested to check out the premium version as well if available.
Also concerned about the query search speeds. Searching across such a huge database is going to cost some overhead, what is the best way to tackle this?
Any suggestions highly appreciated.
Best regards, Seniel