Forum Moderators: phranque

Message Too Old, No Replies

Looking for US postal codes

A database of US postal codes with miles

         

TechMan

7:51 am on Mar 15, 2007 (gmt 0)

10+ Year Member



Hello

I want to give feature to my users to search something in a specific postal code with in specific miles. Say for e.g. search cars in 98760 with in 30 miles radius.
From where can I get this database?

Thanks

TechMan

3:54 pm on Mar 15, 2007 (gmt 0)

10+ Year Member



LifeinAsia

4:55 pm on Mar 15, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



When you Googled "zip code database" didn't you find what you needed?

stajer

4:58 pm on Mar 15, 2007 (gmt 0)

10+ Year Member



This is a 2 part problem:

1. google "zipcode database" and you will find plenty of commercial available db's for under $50.

2. the distance is a separate issue. You need to find a db with the longitude and latitude for each zipcode. Then, google for "longitude latitude distance formula" = you can use that formula to calculate the distance between any two zipcodes or to get a list of all zipcodes within x miles of a zipcode.

TechMan

4:58 pm on Mar 15, 2007 (gmt 0)

10+ Year Member



No it mostly showed zip codes database of which is available for sale.

But I have found one containing both longitude and latitude which is used in calculating distance.

BillyS

12:32 am on Mar 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>But I have found one containing both longitude and latitude which is used in calculating distance.

That's the way I 've done this in the past.

[edited by: BillyS at 12:32 am (utc) on Mar. 16, 2007]