This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Java in General and the fly likes Help for Coding Java Program to zip code based search results Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Help for Coding Java Program to zip code based search results " Watch "Help for Coding Java Program to zip code based search results " New topic
Author

Help for Coding Java Program to zip code based search results

nek thomas
Greenhorn

Joined: Oct 18, 2008
Posts: 27
Hello People


Please give me suggestions on java program for providing search results based on zip code. For example searching for listings of companies within 200 miles of a given zip code, similar to what is done on google maps.


Thanks


Nek
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3275
    
    5

Have you thought about integrating with a 3rd party API such as the Google Maps API?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
nek thomas
Greenhorn

Joined: Oct 18, 2008
Posts: 27
I am exploring all options for solving this problem
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19529
    
  10

You need three things:

(1) Locations of these companies you plan to tell people about

(2) Locations of zip codes

(3) A way of computing the distance between two locations

nek thomas
Greenhorn

Joined: Oct 18, 2008
Posts: 27
Thanks for your suggestions


Please suggest the algorithm required for calculating companies within 200 miles of zip code provided


Thanks


Nek
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help for Coding Java Program to zip code based search results