2 Replies - 217 Views - Last Post: 30 May 2012 - 11:47 AM

#1 guyfromri  Icon User is offline

  • D.I.C Addict

Reputation: 46
  • View blog
  • Posts: 817
  • Joined: 16-September 09

Creating a relation search for distance from zipcode

Posted 29 May 2012 - 07:58 AM

Hey guys!!

So, I'm toying with the idea of adding a search filter to my site where you can search for businesses locally. To do this I would want to be able to enter a zip code and figure out a distance from said zip. I know there are a million websites that do this and I'm guessing that the smarted devs out there don't create this from scratch so I'm wondering if anyone knows of a place where I can find / buy this type of data?

Thanks in advance!!

Is This A Good Question/Topic? 0
  • +

Replies To: Creating a relation search for distance from zipcode

#2 BenignDesign  Icon User is offline

  • holy shitin shishkebobs
  • member icon




Reputation: 5937
  • View blog
  • Posts: 10,346
  • Joined: 28-September 07

Re: Creating a relation search for distance from zipcode

Posted 30 May 2012 - 10:25 AM

I've never written anything like this myself, but I'm guessing in order to do a radius search, you'd likely need latitude and longitudes of each zip code. Free database containing the information you are seeking...
Was This Post Helpful? 1
  • +
  • -

#3 guyfromri  Icon User is offline

  • D.I.C Addict

Reputation: 46
  • View blog
  • Posts: 817
  • Joined: 16-September 09

Re: Creating a relation search for distance from zipcode

Posted 30 May 2012 - 11:47 AM

Absolutely perfect!! I can't thank you enough...now on to the calculations :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1