using the postcode-code, I get this error

python makeShapeColoured.py -h
Traceback (most recent call last):
  File "makeShapeColoured.py", line 34, in <module>
    import shapelib.shapelib as shp, shapelib.dbflib as dbf
ImportError: No module named shapelib.shapelib


On Tue, Sep 8, 2009 at 6:30 PM, John Smith<deltafoxtrot...@gmail.com> wrote:
> 2009/9/8 maning sambale <emmanuel.samb...@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.
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to