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!! |
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. 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
|
did you succeed finally - just share your experience