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... |
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 answered 16 Nov '18, 17:46 EdLoach ♦ |
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. answered 16 Nov '18, 14:46 Richard ♦ |