Won't work. Check out how close 44030 (Conneaut, OH) is to 14775 (Ripley, NY). But there's a whole state in the way! (PA, if you're curious.)
-- Spring: Forces, Coiled Again!
| [reply] [Watch: Dir/Any] |
It's simple, add the non-bordering states that have borders with N miles to that's states border-states.
-Lee
"To be civilized is to deny one's nature."
| [reply] [Watch: Dir/Any] |
At which point you're into a lot more complexity. If you're going to pre-generate that much data, just build a data set for each state that includes all zips within the greatest possible search radius, and start each search with the right data set.
-- Spring: Forces, Coiled Again!
| [reply] [Watch: Dir/Any] |