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

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 '20, 13:16

Joshua's gravatar image

Joshua
11112
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 '20, 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 '20, 14:07

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

edited 27 Oct '20, 14:08

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:

×55
×15

question asked: 27 Oct '20, 13:16

question was seen: 1,039 times

last updated: 27 Oct '20, 14:08

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