[OSM-talk] creating shapefile of postcodes

John Smith deltafoxtrot256 at gmail.com
Tue Sep 8 11:30:01 BST 2009


2009/9/8 maning sambale <emmanuel.sambale at gmail.com>:
> I wanted to create a similar shapefile like this
> (http://old-dev.openstreetmap.org/~random/postcodes/) for my area.
> The first step is to extract postcodes in OSM.
> The problem there several postcode variations in the database
>
> addr:postcode
> postal_code
> is_in:zip
>
> Some are in node (POIs) others in ways (building).  Any advise on
> extracting this data as input to makeShapeColoured.py?

The simple case is boundaries, you might be able to use info from POIs
to create a boundary but I wouldn't use them to generate a map like
that.

is_in is being replaced with boundaries so you don't need to tag every
single node/way/relation with is_in same with addr:postcode I'm
guessing.

All the postcode boundaries in Australia have been tagged as
postal_code and were that way before I became involved so I'm not sure
if this is the best tag to use or not but it was already in use and
will keep getting used for consistency reasons.




More information about the talk mailing list