We are using OSM for our app but many of the postcodes are incorrect when used to find a location. The house number and street names are correct but the postcodes are wrong. Could anyone offer some advice on how to fix this?

Many thanks

asked 27 Oct, 13:16

Joshua's gravatar image

Joshua
112
accept rate: 0%

1

Are you using raw OSM data (e.g. from a planet file) or using some intermediate service to access the address information? Could you link to a place on www.openstreetmap.org which got a wrong postcode?

(27 Oct, 13:49) TZorn

I've zoomed in on Sheffield and

  1. Not all addresses are mapped
  2. Not all the addresses that are mapped have postcodes

Adding postcodes to existing addresses I find is most easily done by using chillly's postcode layer in JOSM. Some guesswork is involved, especially where there is more than one postcode shown on a single side of a street, but with practice I suspect you'll get over 99% accuracy (with no figures to back this up).

For completely missing addresses you'll need to go and collect the house numbers first, then determine the postcodes in the same way as described above.

When you say you are getting the wrong postcode, if you are only using OSM data then whatever is giving you a postcode is probably returning the nearest one that is mapped to the co-ordinates you're specifying. This Overpass query shows how uneven the addr:postcode tag usage is in the area.

permanent link

answered 27 Oct, 14:07

EdLoach's gravatar image

EdLoach ♦
18.6k15150270
accept rate: 22%

edited 27 Oct, 14:08

Your answer
toggle preview

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:

×48
×14

question asked: 27 Oct, 13:16

question was seen: 103 times

last updated: 27 Oct, 14:08

powered by OSQA