On 4 Jan 2011, at 14:14, Paul Waring wrote: > On 04/01/11 14:04, Mark Goodge wrote: >> Does anyone know if there's a website anywhere with either an API or a >> downloadable dataset that can relate locations (either lat/lon, postcode >> or OS grid) to their appropriate ceremonial/geographic counties? > > I think you could scrape Wikipedia to get that sort of information, as it > tends to have geographical data for postcode areas - for example: > > http://en.wikipedia.org/wiki/BL > > You might have to follow some of the links to get the information you're > looking for though - i.e. it won't all be on one page.
I think you need to stick "_postcode_area" to the end of that: http://en.wikipedia.org/wiki/BL_postcode_area http://en.wikipedia.org/wiki/EC_postcode_area http://en.wikipedia.org/wiki/L_postcode_area http://en.wikipedia.org/wiki/M_postcode_area etc. You can start here: http://en.wikipedia.org/wiki/List_of_postcode_areas_in_the_United_Kingdom If the "local authority area" is all that's needed from the _postcode_area pages, you can look at the original data Wikipedia uses: https://www.ordnancesurvey.co.uk/opendatadownload/products.html They seem to be using Code-point Open which is available as a CSV which is free of charge as a download (but obviously, that doesn't make it "free" as in speech). The individual pages on Wikipedia also cite as their reference: http://www.statistics.gov.uk/geography/downloads/NSPDVersionNotes.pdf HTH, Paul _______________________________________________ Mailing list [email protected] Archive, settings, or unsubscribe: https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public
