Where to get postcodes and map them to distances?
March 15, 2005 5:16 AM
Subscribe
I'd like to store people's postcodes and work out distances between them. I think I need a postcode-to-coordinates database, and then a way of working out the distances...
So, two questions really:
1. Where can I get a database mapping postcodes to latitude and longitude (or some other better co-ordinate system)? Free is the best price, but not essential, and the UK is the most important place to cover, but as many as possible would be nice.
2. Once I had such a thing, how would I go about working out the distances between postcodes with it?
PS. This is for a free project, not a business or my job or anything.
posted by reklaw to computers & internet (11 comments total)
It won't be perfectly accurate due to elevation and the earth's curvature, but it should be damn close.
I remember we found a free zip-lat/long db on the intarweb in about 1998, but I don't remember where. Try the USPS or USGS.
posted by tomierna at 6:08 AM on March 15, 2005