jQuery in Action, 2nd edition*
The moose likes Programming Diversions and the fly likes Distance Calculation using Zip Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Distance Calculation using Zip Code" Watch "Distance Calculation using Zip Code" New topic
Author

Distance Calculation using Zip Code

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495

I am kind of new to this and i am looking for ideas, I am trying to build a web application that allows a user to input
his/her address and based on that address it returns all available branches within 10 miles, now i have this branches (Addresses and Zip code) in the Database
but how do i calculate if the branches are within 10 miles of the address
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Are you asking about spherical trignometry, or are you asking how to find the location of a zip code?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Have you tried http://www.google.com/search?q=Distance+Calculation+based+on+zip+code
 
 
subject: Distance Calculation using Zip Code
 
Similar Threads
Zip Code Search API
Calling a method from within a method in another class (in the same package)?
Values are assigning null
Help for Coding Java Program to zip code based search results
Tomcat cannot unzip a War file