"be consistent" | |
PerlMonks |
•Re: Zipcode Proximity scriptby merlyn (Sage) |
on Mar 31, 2003 at 19:53 UTC ( [id://247051]=note: print w/replies, xml ) | Need Help?? |
PostgreSQL has built-in "geometric" types which can be used to perform functions like distance. You could select all points within a certain radius, and then sort the points to determine the closest, all at C speeds.
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|