Date: 04/09/00
- Next message: Joe Cheong: "[PHPLIB] PHP Based Chat Program"
- Previous message: Francisco Hernandez: "Re: [PHPLIB] mysql_insert_id().."
- In reply to: Francisco Hernandez: "Re: [PHPLIB] [OT] Finding nearby locations"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] [OT] Finding nearby locations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You can get the info from the TIGER dataset used by www.census.gov. It's the
basis of most of the mapping engines out there (each commercial vendor in
theory has their own corrections) The TIGER data is free, but it's a little
hard to actually find an up-to-date dataset. It's got not only the zip codes,
but all the street address->LAT/LONG mappings. The data takes up about 6GB if
you want all the streets etc.
Hmm. I have a friend who writes mapping applications, who knows about this.
And, it turns out, he has links to the data you need. The Zipcode data is only
about 1 MB. I also recommend him as a source for any online mapping
application or integration into your website. He did an excellent job in Perl
& Javascript for my former employer at a very reasonable cost. He also did the
Census Bureau's web mapping system - it's driven by (as I recall) six
SGI high-end servers. Building GIFs on the fly in high volume can burn a lot
of cycles!
Silicon Mapping Solutions is at http://imap.chesapeake.net.
NB: I believe the zipcode data he has online is from the 1990 census data. The
USPS updates every year.
Gary B
Francisco Hernandez wrote:
> James Thompson wrote:
>
> > Hello,
> >
> > I'm currently working on a site using PHP/PHPLIB. The owner of the
> > company the site will belong to wants to put up a page where customers
> > could put in their city,state to get a list of possible shops in their
> > area they can go to for service. It'd need to include all cities within
> > a customer supplied radius (say 10, 25, or 50 miles).
> >
> > I'm thinking that such a system could be built on a longitude and latitude
> > based system but I was wondering if such a system already exists in php or
> > phplib and I've overlooked it.
> >
> > Thanks
> > James
> >
> > ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
> > James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561
> > Kansas State University Department of Mathematics
> > ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
> >
> > -
> > PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> > To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> > the body, not the subject, of your message.
>
> i recently asked that question in a web message board..
> http://www.phpbuilder.com/forum/read.php3?num=1&id=16190&loc=0&thread=16190
> i got 2 responses someone posted code to figure out the distance
> differences.. but i still need to find the zipcode latitude longitude info..
> usps.gov has it.. somewhere.. :)
> tell me if you find it, ive been unsuccesfull..
> and theres also zipinfo.com..
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Joe Cheong: "[PHPLIB] PHP Based Chat Program"
- Previous message: Francisco Hernandez: "Re: [PHPLIB] mysql_insert_id().."
- In reply to: Francisco Hernandez: "Re: [PHPLIB] [OT] Finding nearby locations"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] [OT] Finding nearby locations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

