Thanks! On Wed, Sep 9, 2009 at 1:49 AM, Dave Stubbs<[email protected]> wrote: > On Tue, Sep 8, 2009 at 2:08 PM, maning > sambale<[email protected]> wrote: >> I already installed shapelib in ubunut jaunty and I still get the same error >> python makeShapeColoured.py >> /home/maning/gisrs/osm_postcode/combined_postcode.csv >> 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 >> >> Please help >> > > > You need to install the python bindings just unzip this into a > directory called shapelib in the same dir as the makeShapeColoured.py > file > > ftp://intevation.de/users/bh/pyshapelib/ > > I've also attached my code for grabbing postcodes out of an OSM > extract. It does 2 passes of the OSM file so isn't exactly fast. > > Dave >
-- 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 [email protected] http://lists.openstreetmap.org/listinfo/talk

