What steps will reproduce the problem?
outShp = shapefile.Writer(shapefile.POLYGONZ)
outShp.field('id','N','10')
poly = [ [(0,0,0), (1,0,0), (1,0,1), (0,0,1), (0,0,0)] ]
outShp.poly(poly, shapeType=15)
outShp.record(1)
outShp.save(outShpPath)
What is the expected output? What do you see instead?
File "C:\Python32\lib\site-packages\shapefile.py", line 863, in save
self.saveShp(target)
File "C:\Python32\lib\site-packages\shapefile.py", line 831, in saveShp
self.__shpRecords()
File "C:\Python32\lib\site-packages\shapefile.py", line 678, in __shpRecords
f.write(pack("<%sd" % len(s.z), *s.z))
AttributeError: '_Shape' object has no attribute 'z'
What version of the product are you using? On what operating system?
1.1.6-beta
Please provide any additional information below.
no error with 1.1.4
Original issue reported on code.google.com by doml...@gmail.com on 23 Jul 2012 at 12:03
Original issue reported on code.google.com by
doml...@gmail.com
on 23 Jul 2012 at 12:03