Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Zipcode Proximity script

by Anonymous Monk
on Mar 31, 2003 at 21:14 UTC ( #247074=note: print w/replies, xml ) Need Help??

in reply to Zipcode Proximity script

We had a job like this come through as a proposal a couple months ago. Guy had a salesman in zip code A, B, and C. Had a customer in zip code D,E, and F. Wanted to know which salesmen was closest.

The results would be stored on his server. He was basically expecting a hash of each Zip Code centroid in the US measured to every other zip code centroid. Hate to bust the guy's bubble but it would've taked years to do all the calculations, assuming really fast calculations.

So.... Maybe you could eliminate all the zips that aren't + or - 1 utm zone from the one you're measuring from. That might eliminate quite a few. Maybe speed it up a bit. Neil

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://247074]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2016-10-25 17:36 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.