Welcome Guest, Not a member yet? Register   Sign In
Developing a complex search...
#3

[eluser]danmontgomery[/eluser]
This is done with the haversine formula, which is an implementation of the great circle distance formula. It's relatively easy to implement, it can be done in a single MySQL statement (give lat and long, get zip codes within X distance). Google happily gives you several examples of this.


Messages In This Thread
Developing a complex search... - by El Forum - 08-05-2010, 04:35 AM
Developing a complex search... - by El Forum - 08-05-2010, 09:25 AM
Developing a complex search... - by El Forum - 08-05-2010, 09:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB