PDA

View Full Version : how to implement search by zipcode



blueindian
05-16-2005, 03:17 PM
you know when you go to a site and they have the feature whereby you can enter you zipcode and it shows the closest stores? how do they do that?

I have a client that wants it and I have no clue.

hapoo
05-16-2005, 09:48 PM
there are zip code databases you can purchase that include lookup tables for nearby zips in a radius. pretty much all you end up doing is querying a mysql (or other) database and it spits back the results.

attgig
05-16-2005, 10:54 PM
would there be any way to interface with one of the map sites (yahoo/google) and get distances using that? if they want to implement distances, i would figure they'd like directions implemented as well.

blueindian
05-17-2005, 02:28 AM
i'll look intot that happoo.

att, not that i'm aware of, but that's more what i'd like. ideally i'd just call a web service.

Jeffbx
05-17-2005, 05:21 AM
You can do it with Microsoft MapPoint (http://www.microsoft.com/mappoint/default.mspx).