I've had problems trying to read shapefiles using the matplotlib basemap toolkit
I can import the shapelib module without error but when I try to read a shapefile this happens: Traceback (most recent call last): File "C:\Documents and Settings\David\Desktop\cornwall\try_4828.py", line 44, in <module> read_4828() File "C:\Documents and Settings\David\Desktop\cornwall\try_4828.py", line 7, in read_4828 shp=shapelib.ShapeFile('4828/4828/package/shp/par1851.shp') File "c:\python25\lib\site-packages\basemap-0.99.1.0001-py2.5-win32.egg\shapelib\shapelib.py", line 44, in __init__ self.this = apply(shapelibc.new_ShapeFile,args) IOError: new_ShapeFile failed Anyone know why this might be? I'm using basemap 0.99.1 on Windows XP David ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users