PDA

View Full Version : long+lat > City module


x_goose_x
05-11-2003, 09:54 PM
Anybody know of an open source php module that when given longitude and latitude, it returns the name of the closest major city?

scroots
05-12-2003, 06:13 PM
hmm,

a bit like the post code one but with a twist.
you would have to get the longtidtes and latitutudes fo the major cities and then compare them distance wise to the users. as it is similair to a grid system you can narrow your search down using part of the users info.

scroots

bored
05-16-2003, 07:59 AM
I don't have it but I have seen it in action. An old client used it with zip codes. It was pretty sophisticated. Too bad the site sucked.

I'll see if I can muster up some antics and post it here.