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

Most of the places in UK have common postal prefix. Example: (EX23, EX23 0AA, EX23 0AB,...), (DN15, DN15 0AA,...),..

When queried with common postal prefix like this, I am getting empty response. Whereas, when queried with their sub-categories like this, I am getting accurate results. Out of nearly 1500 UK postal codes, 300 suffer from this problem. Can someone please help me in this?

asked 16 Nov '18, 12:10

Priyalakshmi%20Sundaravel's gravatar image

Priyalakshmi...
11113
accept rate: 0%

edited 16 Nov '18, 12:17


It probably means that the postcodes aren't mapped in OSM. You can download postcode centroids for free from the Codepoint Open dataset at https://www.ordnancesurvey.co.uk/business-and-government/products/finder.html which will be more complete than OSM.

permanent link

answered 16 Nov '18, 14:46

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

In theory the first half of the postcode won't be mapped on anything in OpenStreetMap, as they aren't postcodes, though trying a postcode prefix local to me I find nominatim is finding it on a place node where someone has stuck a postal_code tag on containing it which I'll be removing now I've seen it, as the CO15 covers much more than just Jaywick https://www.openstreetmap.org/node/291718149

permanent link

answered 16 Nov '18, 17:46

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

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:

×6

question asked: 16 Nov '18, 12:10

question was seen: 1,442 times

last updated: 16 Nov '18, 17:46

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