zhikrullah / pyshp

Automatically exported from code.google.com/p/pyshp
MIT License
0 stars 0 forks source link

Cannot create shapefiles with Z values #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed exact steps in pyshp developers wiki 
https://code.google.com/p/pyshp/wiki/CreateElevationValues
2. error with the following line of code: w.save("MyPolyZ")
3.

What is the expected output? What do you see instead?

Get the following error:
f.write(pack("<%sd" % len(s.z), *s.z))
Error: AttributeError: _Shape instance has no attribute 'z'

What version of the product are you using? On what operating system?
Shapefile.py version 1.1.9
OS: Windows XP Professional V 2002, SP3
Running code using Python x,y V2.7.3.0  - Spyder IDE

Please provide any additional information below.

Original issue reported on code.google.com by Manoj.De...@gmail.com on 6 Sep 2013 at 12:38

GoogleCodeExporter commented 8 years ago
This issue is resolved in version 1.2.0.  Please update to the latest version 
from subversion or PyPi.  Thank you!

Original comment by geospati...@gmail.com on 6 Sep 2013 at 2:13