Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An interesting problem: distance estimating



 > On Thu, Jan 03, 2008 at 10:16:09AM -0500, [hidden email] wrote: 
>> > [hidden email] wrote: 
>> >> I've been thinking about an issue: 
>> >> So, what do you think would be a practical algorithm for estimating 
>> >> distance? 
>> > 
>> > Use google maps' web services api ;-) 
>> 
>> That would be "easier" in a sense, but not the best solution for a high 
>> volume web site. 
> 
> So adjust to suit your intuition: 
> 
> - for x > 250 miles, return x 
> - for 100 < x < 250 miles, return 1.05 * x 
> - for 10 < x < 100 miles, return 1.1 * x 
> - for x < 10 miles, return 1.3 * x 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org