Postal code/zip code distance

I need to do a store/restaurant locator search from a persons postal code.

Any suggestions on how to do this in Ruby/Rails? Commercial services
would be a consideration if effective and not too costly.

Thanks,
Nick

···

--
Nicholas Van Weerdenburg

Nicholas Van Weerdenburg wrote:

I need to do a store/restaurant locator search from a persons postal code.

Any suggestions on how to do this in Ruby/Rails? Commercial services
would be a consideration if effective and not too costly.

Google Local?

James

···

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

I'm now looking at http://www.zipcodedownload.com/ as they have US and
Canadian data and seem reasonably priced.

Anyone have any experience with them?

Thanks,
Nick

···

On 11/4/05, Nicholas Van Weerdenburg <vanweerd@gmail.com> wrote:

I need to do a store/restaurant locator search from a persons postal code.

Any suggestions on how to do this in Ruby/Rails? Commercial services
would be a consideration if effective and not too costly.

Thanks,
Nick
--
Nicholas Van Weerdenburg

--
Nicholas Van Weerdenburg

Looking at that now, but it doesn't take postal code only.

Thanks,
Nick

···

On 11/4/05, James Britt <james_b@neurogami.com> wrote:

Nicholas Van Weerdenburg wrote:
> I need to do a store/restaurant locator search from a persons postal code.
>
> Any suggestions on how to do this in Ruby/Rails? Commercial services
> would be a consideration if effective and not too costly.

Google Local?

James

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

--
Nicholas Van Weerdenburg

Nicholas Van Weerdenburg <vanweerd@gmail.com> writes:

I need to do a store/restaurant locator search from a persons postal code

My company did something like this, but in Java. In essense, we
bought a zipcode => lat/long map data set (~ $35 USD, IIRC), and then
the developer that did this dug up from google an algorithm to
calculate distances between two lat/long points.

Pretty simple, near as I can recall.

···

--
I tend to view "truly flexible" by another term: "Make everything
equally hard". -- DHH

Nicholas Van Weerdenburg wrote:

···

On 11/4/05, James Britt <james_b@neurogami.com> wrote:

Nicholas Van Weerdenburg wrote:

I need to do a store/restaurant locator search from a persons postal code.

Any suggestions on how to do this in Ruby/Rails? Commercial services
would be a consideration if effective and not too costly.

Google Local?

James

--

http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys

Looking at that now, but it doesn't take postal code only.

Thanks,
Nick
--
Nicholas Van Weerdenburg

For possible ideas, take a look at Geo::PostalCode - Find closest zipcodes, distance, latitude, and longitude. - metacpan.org

Regards,

Dan

Looking at that now, but it doesn't take postal code only.

Check out http://maps.huge.info/

Thanks,
Nick

Anthony Elizondo

···

On 11/4/05, Nicholas Van Weerdenburg <vanweerd@gmail.com> wrote:

Michael Campbell wrote:

Nicholas Van Weerdenburg <vanweerd@gmail.com> writes:

I need to do a store/restaurant locator search from a persons postal code
   
My company did something like this, but in Java. In essense, we
bought a zipcode => lat/long map data set (~ $35 USD, IIRC), and then
the developer that did this dug up from google an algorithm to
calculate distances between two lat/long points.

Pretty simple, near as I can recall.

load the data in postgresql and use it to calculate the distances