Jump to content

Zip Codes


9three

Recommended Posts

I don't think this fits here but I'll give it a shot.

 

I'm looking for an API or something that will help me out with a zip code input.

 

For example, if I input a zip code of 33126, it will return everything within a radius of lets say 5 miles. The only thing I know is that it needs to find the longitude and latitude.

 

If anyone has any information that could help me out, please share, thank you :)

Link to comment
Share on other sites

google the zip code database project... then download the csv zip file...

That will give you all of the data you need, and from there you just need to build the correct queries to associate with the other items... This database includes the lat and long that correlates with each zip.

Link to comment
Share on other sites

I'd image with the practically endless types of zipcodes, that would be impossible, not to mention some countries don't have postal codes. The best thing to do what have the end-user narrow it down to what country - then out of several zipcode databases, you'd pull it from one.

 

Take a look at this page for more reasoning why it'd seem impossible:

http://en.wikipedia.org/wiki/List_of_postal_codes

 

 

Link to comment
Share on other sites

Thanks for the reply King Philip, I feared it maybe impossible. Was just hopeful. My plan is to try and build up my own database using multiple client databases.

lol. Funny I am in one of the No Postal Code Countries. Can't wait to get the hell out of here. Qatar: No postal code used. PO box delivery only.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.