| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
installing a zip distance program?
My partner wants me to install a program that can tell clients how far they are from other clients, by their zip code (like a dating service) on his site. But our host does not allow any 3rd party software.
The only freeware and shareware that handle zip code distance I've seen are executables. So I can't use them? Are there any zip code distance programs that come in the form of scripts? Thanks |
|
#2
|
||||
|
||||
|
Try here:
http://www.zipwise.com/zip-code-downloads.php You can get all the US ZIP codes up to April 2005. The database appears to include the longitude and latitude 1. Convert or upload the database 2. Write a script to extract the latitude and longitute for 2 ZIP codes from the database 3. Write a script that uses Pythagoras Theorem to calculate the distance between the 2 ZIP codes
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
|
#3
|
|||
|
|||
|
nice idea if...
Hmm, looks interesting. I might try it, but I'll have to make it a personal project.
I don't think my partner wants to pay me multiple hours to research and trouble shoot this code on my own. He'd rather pay 20 bucks (or nothing for freeware) if there was some script lying around out there I could plug in. But I can't find any. Only programs. |
|
#4
|
||||
|
||||
|
Ok - any problems, let me know. If I look hard enough I might be able to find some code I did for this about 7 years ago (seriously!)...
|
|
#5
|
|||
|
|||
|
Hi there,
I was reading this thread of yours where you are mentioning to the other person about some codes related to Zipcodes,which would let the client find out the neares client near that zipcode.I think you said you wrote it like 7 years ago.Can you please explain more in detail about what exactly you did..becuase i am trying to do the same... Thanks! |
|
#6
|
|||
|
|||
|
ZIP Codes
hi there,
You might want to try get the information at http://www.zipcodeworld.com . It provides free ZIP Code search and longitude and latitude, as well as distance calculation. Cheers, cklim |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > installing a zip distance program? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|