in reply to Algorythym for searching closest neighbor
If you're looking for the closest neighboring zip code (as opposed to two zip codes that closely match), you really have no guarantee that two zips that are close to one another numerically are going to suit your needs.
This thread has info about determining how far apart two zip codes are. There's even some sample code for you.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|