Is there a free data set of all current UK postcodes (about 1.7 million-ish) plus their city name, county and UK country (e.g. Liverpool, Merseyside, England) and ideally lat, long, east, northings?
-
1This looks like a question that is highly on-topic for Open Data Stack Exchange and problematic here because there are no spatial fields mentioned. – PolyGeo♦ May 18 '16 at 20:33
OS Code-Point Open is probably the best you will get for free, and should provide you with all the data you need.
-
Thanks. I came across this in the past and played with it again today. Unfortunately, I cannot find a complete csv or something similar. – cs0815 May 18 '16 at 16:37
-
It seems to point to many different data sets. Is there one in particular which contains all the data? – cs0815 May 18 '16 at 16:38
-
The OS site is not the most well designed... Once you click through to the download section from the link I provided, Code-Point Open is about half way down the page. You tick the download box, then go right to the bottom of the page and click next to continue. – Matt May 19 '16 at 8:10
-
Ok thanks that helped. However, county info in Admin_county_code seems not complete. – cs0815 May 19 '16 at 10:32
OS Open Names might be a better option as it has postcode, populated place (could be a city, town, village etc), unitary county, and country.
Note that these fields will not always be what you might expect though, especially unitary county.
Here is an example for postcode RG4 7LR:
- POPULATED_PLACE: Caversham
- COUNTY_UNITARY: Reading
- COUNTRY: England
I would recommend the National Statistics Postcode Lookup. It seems to be the official source.
-
Thanks for this! Way easier to use than some of the other answers. Does exactly what I want... one easy to use csv to match postcodes to county/country/etc. – daticon Feb 22 at 10:47