Re: [PHP] geographic search engine

2005-01-13 Thread Lester Caine
Symbulos Partners wrote: Lester Caine wrote: Expensive. There are a few postcode management sites that provide positional data against the post code, but they all cost quite a bit of money. We are working on a cut down version for key areas, with a rough entry for the first part for all post codes,

Re: [PHP] geographic search engine

2005-01-13 Thread symbulos partners
Lester Caine wrote: > Expensive. There are a few postcode management sites that provide > positional data against the post code, but they all cost quite a bit of > money. We are working on a cut down version for key areas, with a rough > entry for the first part for all post codes, with a few that

Re: [PHP] geographic search engine

2005-01-13 Thread John Nichel
Richard Lynch wrote: But we DON'T CARE! The Borg are everywhere!!! ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] geographic search engine

2005-01-12 Thread Richard Lynch
Brian Dunning wrote: >>> I realized one day that at a distance of a hundred miles or less, I >>> just >>> didn't *CARE* about curvature of the earth, and replaced that trig >>> with >>> your basic Cartesian distance. > > True, but be aware that this is only true when all of your coordinates > are i

Re: [PHP] geographic search engine

2005-01-12 Thread Richard Lynch
symbulos partners wrote: >> So often php-general is graced with the presence of people with >> multiple personalities.. or are you really the borg? :) > > What?? You used "we" a lot in your post. >>> Any body has any experience with anything similar? >> >> I coded a zip code to distance calculat

Re: [PHP] geographic search engine

2005-01-12 Thread Brian Dunning
I realized one day that at a distance of a hundred miles or less, I just didn't *CARE* about curvature of the earth, and replaced that trig with your basic Cartesian distance. True, but be aware that this is only true when all of your coordinates are in the same general latitude. For example, li

Re: [PHP] geographic search engine

2005-01-12 Thread Brian Dunning
What about UK postcodes? I don't have a source for that - looked into it once and it was too expensive. And I thought the USPS charged obscene prices... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] geographic search engine

2005-01-12 Thread symbulos partners
> So often php-general is graced with the presence of people with > multiple personalities.. or are you really the borg? :) What?? > >> Any body has any experience with anything similar? > > I coded a zip code to distance calculater last week. > > x = 69.1 * ( zip2.lat - zip1.lat ) > y = 69.1

Re: [PHP] geographic search engine

2005-01-12 Thread symbulos partners
Brian Dunning wrote: >http://www.zipwise.com/ What about UK postcodes? -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] geographic search engine

2005-01-12 Thread Richard Lynch
Brian Dunning wrote: > On Jan 11, 2005, at 12:39 PM, Greg Donald wrote: > >> This does not take into account the curve of the earth. In addition >> you'll need a db with the latitude and longitude for each zip code. If you only want "close" things to a given location, the curvature of the earth i

Re: [PHP] geographic search engine

2005-01-12 Thread Jason Barnett
Richard: I found this post incredibly useful. Thank you! Richard Lynch wrote: If you only want "close" things to a given location, the curvature of the earth is pretty insignificant. ... I realized one day that at a distance of a hundred miles or less, I just didn't *CARE* about curvature of the e

Re: [PHP] geographic search engine

2005-01-12 Thread Lester Caine
Symbulos Partners wrote: Brian Dunning wrote: http://www.zipwise.com/ What about UK postcodes? Expensive. There are a few postcode management sites that provide positional data against the post code, but they all cost quite a bit of money. We are working on a cut down version for key areas, wit

Re: [PHP] geographic search engine

2005-01-11 Thread Brian Dunning
On Jan 11, 2005, at 12:39 PM, Greg Donald wrote: This does not take into account the curve of the earth. In addition you'll need a db with the latitude and longitude for each zip code. If I might be so bold as to suggest one without getting flamed: http://www.zipwise.com/ -- PHP General Mailing

Re: [PHP] geographic search engine

2005-01-11 Thread Greg Donald
On Tue, 11 Jan 2005 19:57:15 +, symbulos partners <[EMAIL PROTECTED]> wrote: > We would like to implement a geographic search engine. > > We have a list of places, the user enters a postcode + a radius in kms and > the search engine returns a list of places within a certain radius. So often p

[PHP] geographic search engine

2005-01-11 Thread symbulos partners
We would like to implement a geographic search engine. We have a list of places, the user enters a postcode + a radius in kms and the search engine returns a list of places within a certain radius. Any body has any experience with anything similar? -- symbulos partners -.- symbulos - ethical ser