[OSM-dev] Programatic reconstruction of postal code areas

Colin Smale colin.smale at xs4all.nl
Wed Mar 29 10:14:53 UTC 2017

There are also in some countries "non-geographic postal codes" - things
like reply numbers and PO Boxes. If we are able to filter these out of
the data in some way it may make the job a little easier. 

Although the UK postcodes are not defined as a boundary but as a list of
points, there are several "reverse geocoding" services in the UK which
implicitly will allow you to find the boundary that their algorithm+data
leads to. I have no idea how "accurate" their results are for a random
point, or indeed, how you would measure that accuracy.


On 2017-03-29 10:51, Jo wrote:

> I'm in Belgium, so I'm mostly familiar with postal codes here. There are some oddities, but mostly they are not too illogical and it is possible to draw polygons around/in between them. 
> It seems Alex already did this exercise for Austria and Switzerland, so I think it's possible there as well. He'll probably needs to talk to the mailing lists for each country separately to figure out whether there is willingness to define (initial versions of) these boundaries. 
> Polyglot 
> 2017-03-29 10:46 GMT+02:00 Tom Hughes <tom at compton.nu>:
> On 29/03/17 09:41, Jo wrote:
> For postal_code boundaries, they will very often follow existing
> boundaries, except where they don't... so I would say it is possible to
> draw them by mostly following the existing admin_boundaries. So now you appear to be talking about the UK which I do know about and which definitely doesn't have boundaries as such.
> Royal Mail as I understand it defines each post code by a list of addresses. They do also provide a centroid point derived from that list but I don't believe they provide any sort of boundary. 
> Tom
> -- 
> Tom Hughes (tom at compton.nu)
> http://compton.nu/

dev mailing list
dev at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170329/b80de3d5/attachment.html>

More information about the dev mailing list