Re: [nyphp-talk] Zip code radius

2009-06-30 Thread Edward Potter
Adding the maps display with google is pretty easy. At this point you probably would have fun building this out on an iPhone with the new 3.0 Mapkit. You can get pretty crazy with all the geocoding features in Xcode. Drop zillions of Google "Pins" out of the sky, it's can get crazy. PS. here's

Re: [nyphp-talk] Zip code radius

2009-06-30 Thread Aaron Fischer
A gold star! I always wanted one of those. Thanks. =) -Aaron On Jun 30, 2009, at 1:37 PM, Allen Shaw wrote: Very cool, Aaron. Also very cool that you've actually updated the thread with your notes. Gold star for you, man. ___ New York PHP Us

Re: [nyphp-talk] Zip code radius

2009-06-30 Thread Allen Shaw
Aaron Fischer wrote: Wanted to post my results. I have successfully created a zip code radius function on my site, similar to a store locator. Here's a brief recap: ... Very cool, Aaron. Also very cool that you've actually updated the thread with your notes. Gold star for you, man. - A. -

Re: [nyphp-talk] Zip code radius

2009-06-30 Thread Aaron Fischer
Wanted to post my results. I have successfully created a zip code radius function on my site, similar to a store locator. Here's a brief recap: 1) Geocoded around 31,000 addresses sitting in my database, using Google Maps API (http://code.google.com/support/bin/answer.py?answer=80200&top

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread CED
Edward Potter wrote: Yep, Geocode a list of addresses, export lat, lng file. Suck into the iPhone, parse the file, build a store locator that knows where I am, link those pins to a mysql db, spit out some more xml soup. Fun stuff. Mapkit 3.0 is wild. ;-) Search google + php + map + geocode

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Edward Potter
Yep, Geocode a list of addresses, export lat, lng file. Suck into the iPhone, parse the file, build a store locator that knows where I am, link those pins to a mysql db, spit out some more xml soup. Fun stuff. Mapkit 3.0 is wild. ;-) Search google + php + map + geocode On May 22, 2009, at

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Aaron Fischer
That sounds good, thanks for the link Paul. -Aaron On May 22, 2009, at 4:21 PM, Paul Guba wrote: Here is what I used: http://www.micahcarrick.com/04-19-2005/php-zip-code-range-and-distance-calculation.html Paul Guba p...@gubavision.com On May 22, 2009, at 4:04 PM, Aaron Fischer wrote: Gre

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Paul Guba
Here is what I used: http://www.micahcarrick.com/04-19-2005/php-zip-code-range-and-distance-calculation.html Paul Guba p...@gubavision.com On May 22, 2009, at 4:04 PM, Aaron Fischer wrote: Great stuff, thanks John! I got my Google API Key and am reading up on geocoding now Never tried som

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Paul Guba
There is actually a class available google it in includes basic script and database with zipcodes and long and lat points. I think it even factors in for the curvature of the earth. Used it a way back. Paul Guba p...@gubavision.com On May 22, 2009, at 4:04 PM, Aaron Fischer wrote: Gre

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Aaron Fischer
Great stuff, thanks John! I got my Google API Key and am reading up on geocoding now Never tried something like this before so it looks like I've got some learning to do. -Aaron On May 22, 2009, at 2:36 PM, John Campbell wrote: I used to do a bit of GIS stuff. Here is what you need to

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Konstantin Rozinov
Paul, I would be interested in looking at the code of the class too, just to see how something like that works. Thanks Konstantin On Fri, May 22, 2009 at 2:29 PM, Paul McGrane wrote: > Aaron: > > I have one...but need to dig it up...ping me off list if you are interested. > > BTW...does your d

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread John Campbell
I used to do a bit of GIS stuff. Here is what you need to do. 1) Import a list of zip codes & lat/lng centroids into your database. The data is here: http://www.census.gov/tiger/tms/gazetteer/zips.txt 2) Geocode all of your contacts, and store the lat/lng coordinates with the contacts. Google ha

Re: [nyphp-talk] Zip code radius

2009-05-22 Thread Paul McGrane
Aaron: I have one...but need to dig it up...ping me off list if you are interested. BTW...does your db table include geo-codes for the addresses...this is key for both parts of what you would like to do. Paul serv...@lynxtdc.com lynx...@gmail.com On Fri, May 22, 2009 at 2:09 PM, Aaron Fischer

[nyphp-talk] Zip code radius

2009-05-22 Thread Aaron Fischer
I'd like to build a feature that will allow someone to enter a zip and a radius and have the page display all the contacts that are within the specified radius of that location. (I have a db table to query that has contacts and their address information, including zips.) Has anyone found a