[Tutor] Issue with a shapefile (ArcGIS) library (pyshp) "unpack requires a string argument of length 8"

2012-02-03 Thread Simeon Tesfaye
Hello everyone, I am having a bit of trouble here with my code, which uses a shapefile library, named pyshp, to import, edit, and save GIS files within Python. So, I open up my shapefile (data is polylines, meaning, not points or polygons) "shapefile=shapefile.Reader("file.shp") shps=shapefile.s

[Tutor] Rép. : Re: Issue with a shapefile (ArcGIS) library (pyshp) "unpack requires a string argument of length 8"

2012-02-07 Thread Simeon Tesfaye
I just realized my first email was not very self explanatory, so let me start over. My system is Windows XP Professional, with Python 2.5, and the library I'm experiencing trouble with is pyshp, available (single version for all systems) here : http://code.google.com/p/pyshp/ Here is the corre