NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

I am interested in obtaining a database of addresses from the UK (postcode, street name, number, town, county, geocode). I do not need to put them into a map or to build an application on top. I just need a list of addresses with those attributes.

After researching the OSM documentation for a while, I think it is possible to get this type of information from OSM by installing Nominatim. I think what I need is to download osm files for UK (for example, here) and import them into a database with the osm2pgsql command. After some processing on this imported that, I will hopefully have address information that I can extract from the database.

Is this at all feasible? Are there any easier ways to get the address information out of OSM? If not, any suggestion about where could I get the information I need? I know I can buy something similar to what I need from the post office, but of course, I'd prefer not to pay or to have restrictive licenses on the data.

Thank you!!

asked 02 Feb '11, 12:31

Toplus's gravatar image

Toplus
61123
accept rate: 0%

edited 03 Feb '11, 08:15

ALE's gravatar image

ALE
1.9k415774

1

did you succeed finally - just share your experience

(20 May '14, 22:29) say_hello_to...

Toplus, what you suggest sounds a good way to go about getting the information, but you need to be aware that the areas where full address details have been mapped is still rather patchy and I would guess is only a small fraction of all the addresses we could possibly map.

permanent link

answered 02 Feb '11, 13:08

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

True some contributers have focused on buildings and address data including UPRN when labled in the wild on lables etc.. ..but its still very much a work in progress at the moment. addr: & NPLG: prefixed tag names are the easiest to such for in the raw data. A database should do this quite easily (or spreadsheet) [hint if stuck to find prefix try reimporting tags with the colon as a delimiter]. To get the geocode if that is the National Grid Referave then extracting corrisponding point data and converting them in a large spreadsheet or databasing maths function could complete your request.

(05 Aug '14, 18:05) Govanus

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×202
×118

question asked: 02 Feb '11, 12:31

question was seen: 12,336 times

last updated: 05 Aug '14, 18:05

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum