1
ksatpro
zipcode Dealer Locator mod
  • 2004/3/21 21:59

  • ksatpro

  • Just popping in

  • Posts: 14

  • Since: 2004/3/2 1


is there a module that is out there could be used to find a dealer. we are wanting to allow our customers and clients to enter there zipcode and have a page comeup the dealers in there area. I have had no luck finding such a thing out there and need your help.

2
cuckston
Re: zipcode Dealer Locator mod
  • 2004/3/21 22:29

  • cuckston

  • Quite a regular

  • Posts: 268

  • Since: 2004/1/19


You might want to have a look at a module called xdirectory and try changing that around a bit. It may do what u want.

3
builderb
Re: zipcode Dealer Locator mod
  • 2004/3/22 3:38

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


I think what ksatpro is looking for is a system that can find zip codes in the general vacinity of the one entered by the user. That would require some knowledge of the logic behind zip code distribution and then you would have to create a system to recognize zip codes and thier neighbors. xDirectory doesn't have that capability as of yet.

I would be interested in finding that solution as well.

-Builderb

4
sunsnapper
Re: zipcode Dealer Locator mod

My thought is the "poor man's" version of this is to simply find the first match in an alphabetized (numericalized?) list.

For example, if you type 10011

You may get an exact match of 10011.

If not, it could give you the first two or three matches it comes to.

For example if 10011 is not in the database, it keeps looking and finds 10019. To cover its bets it could also give the two items above 10019... perhaps 10005 and 10109. (Again just examples).

It would not be dead on, but, I have to think that given how Zip codes are laid out, it would be close enough most of the time.

5
sunsnapper
Re: zipcode Dealer Locator mod

If you don't like the "poor man" version above, you may find the following useful.

None of these are modules, but...

This will give you a fun sense of how zip codes are laid out:
http://acg.media.mit.edu/people/fry/zipdecode/

Here is the U.S. Census Bureau's Gazeteer Zip data... the last two columns in the ZCTA Zip Code files are Latitude and Longitude for each Zip Code:
http://www.census.gov/geo/www/gazetteer/places2k.html

This is sample source code (PHP and others) for determining distances between points:
http://www.zipcodeworld.com/samples/distance.php.txt


These guys have some GeoLocation things that may come in handy to someone:
http://www.geobutton.com/GeoDirection.htm


This is a zip code MySQL database with longitude and latitude and PHP location script, $45:
http://www.hotscripts.com/Detailed/31782.html

Free tool called Zipdy (PostgreSQL)
http://www.cryptnet.net/fsp/zipdy/

6
ksatpro
Re: zipcode Dealer Locator mod
  • 2004/4/8 11:49

  • ksatpro

  • Just popping in

  • Posts: 14

  • Since: 2004/3/2 1


Thanks sunsnapper,
I will take a look at what is out there and will see what I can do with Xdir.

Thanks everyone for the great help.

Login

Who's Online

234 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits